This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
compile error on jdk-14.0.1
04-30-2020, 10:32 PM
Post: #1
compile error on jdk-14.0.1
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
Find all posts by this user
Quote this message in a reply
05-01-2020, 05:31 PM
Post: #2
RE: compile error on jdk-14.0.1
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.

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
05-01-2020, 10:47 PM
Post: #3
RE: compile error on jdk-14.0.1
Thanks .I make a clean copy.Raise a unusual error,cannot run "7z" program
   
Find all posts by this user
Quote this message in a reply
05-02-2020, 10:01 AM
Post: #4
RE: compile error on jdk-14.0.1
(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/mast...o.xml#L151

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

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
05-02-2020, 01:43 PM (This post was last modified: 05-02-2020 01:44 PM by sum2012.)
Post: #5
RE: compile error on jdk-14.0.1
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/mast...o.xml#L151

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


Attached File(s) Thumbnail(s)
       
Find all posts by this user
Quote this message in a reply
05-02-2020, 03:02 PM
Post: #6
RE: compile error on jdk-14.0.1
I use back jdk 1.8.0_112 seem work now.
Thanks anyway
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)