EmuNewz Network
compile error on jdk-14.0.1 - Printable Version

+- EmuNewz Network (http://www.emunewz.net/forum)
+-- Forum: PSP Emulation (/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (/forumdisplay.php?fid=56)
+---- Thread: compile error on jdk-14.0.1 (/showthread.php?tid=242599)



compile error on jdk-14.0.1 - sum2012 - 04-30-2020 10:32 PM

Please help.Thanks

Code:
D:\JPCSPSource>ant -f build-auto.xml dist-windows-amd64
Buildfile: D:\JPCSPSource\build-auto.xml

dist-windows-amd64:

build-subprojects:

init:
    [mkdir] Created dir: D:\JPCSPSource\bin\class
     [copy] Copying 128 files to D:\JPCSPSource\bin\class

build-project:
     [echo] Jpcsp: D:\JPCSPSource\build-auto.xml
    [javac] Compiling 1254 source files to D:\JPCSPSource\bin\class
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 8
    [javac] D:\JPCSPSource\src\jpcsp\HLE\modules150\sceAtrac3plus.java:376: error: illegal start of expression
    [javac]         public void getStreamDataInfo(TPointer32 writeAddr, TPointer32 writableBytesAddr, TPointer32 readOffsetAddr) {
    [javac]         ^
    [javac] 1 error
    [javac] 1 warning



RE: compile error on jdk-14.0.1 - gid15 - 05-01-2020 05:31 PM

Code:
[javac] D:\JPCSPSource\src\jpcsp\HLE\modules150\sceAtrac3plus.java:376: error: illegal start of expression
Your source code is not up-to-date. The directory "modules150" has been deleted a long time ago...
I've just tried to compile with jdk-14.0.1 and I had no issue.


RE: compile error on jdk-14.0.1 - sum2012 - 05-01-2020 10:47 PM

Thanks .I make a clean copy.Raise a unusual error,cannot run "7z" program
[attachment=34717]


RE: compile error on jdk-14.0.1 - gid15 - 05-02-2020 10:01 AM

(05-01-2020 10:47 PM)sum2012 Wrote:  Thanks .I make a clean copy.Raise a unusual error,cannot run "7z" program
Yes, this is the last step of the build: it is creating a .7z file of the "dist" directory. This is the file which is then offered for download from the "Live Downloads" section of emunewz.

https://github.com/jpcsp/jpcsp/blob/master/build-auto.xml#L151

The build is however already available into the "dist" directory.


RE: compile error on jdk-14.0.1 - sum2012 - 05-02-2020 01:43 PM

I run "start-windows-amd64.bat" raise attach error ,
but I can directly run jpcsp.jar (cannot record log)
edit:see 2.png
(05-02-2020 10:01 AM)gid15 Wrote:  
(05-01-2020 10:47 PM)sum2012 Wrote:  Thanks .I make a clean copy.Raise a unusual error,cannot run "7z" program
Yes, this is the last step of the build: it is creating a .7z file of the "dist" directory. This is the file which is then offered for download from the "Live Downloads" section of emunewz.

https://github.com/jpcsp/jpcsp/blob/master/build-auto.xml#L151

The build is however already available into the "dist" directory.



RE: compile error on jdk-14.0.1 - sum2012 - 05-02-2020 03:02 PM

I use back jdk 1.8.0_112 seem work now.
Thanks anyway