EmuNewz Network
compile error on jdk-14.0.1 - Printable Version

+- EmuNewz Network (https://www.emunewz.net/forum)
+-- Forum: PSP Emulation (https://www.emunewz.net/forum/forumdisplay.php?fid=191)
+--- Forum: JPCSP Official Forum (https://www.emunewz.net/forum/forumdisplay.php?fid=51)
+---- Forum: svn trunk discussion (https://www.emunewz.net/forum/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

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

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

Thanks .I make a clean copy.Raise a unusual error,cannot run "7z" program
   


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

(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

I run "start-windows-amd64.bat" raise attach error ,
but I can directly run jpcsp.jar (cannot record log)
editConfusedee 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

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