Jump to content
  • 0

[Acis 401] Problem on Compile


Rospys

Question

Hello guys! i've just start make my first steps on the Development and wanna try/test/practice on making l2 servers.. 

So.. my problem for now is that im trying to make compile at Acis (401) files.. its everything ok with the datapack when i run it.. but when im trying to run the gameserver files i get  this error .. 

https://ibb.co/z5TL9c8 . so.. if you can give me a litle bit help it will be perfect! Thanks! 🙂

Edited by Vision
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 1

At first make sure that you have imported this as a java project and not as a general project. Then go to eclipse and

1) Window -> preferences -> Java -> Installed JREs -> Add -> select path -> Apply and Close

2) Right click on your project -> Java build path -> Libraries -> double click on JRE System library -> alternate JRE -> select your desired java version (which will be 11 on your case).

3) Right click on your project again -> properties ->Java compiler -> Tick "Enable project specific settings if it's not -> then select your desired "Comiler compliance level" (11 on your case too).

4) Single left click on your project -> Source (top left of eclipse window) -> Clean up -> next  -> next bla bla -> finish

5) Right click on build.xml -> Run as -> External Tools Configurations -> JRE -> Separate JRE -> JDK 11 -> apply -> run

 

After all this procedure a single step would be fine in order to compile your project which will be "right click on build.xml -> run as -> 1 ant build

Link to comment
Share on other sites

  • 0
25 minutes ago, Tryskell said:

Edit your Eclipse compiler JDK compliance. Also be sure to use latest Eclipse.

i download the latest eclipse but now i have this error... https://ibb.co/wBP9Nmq

Edit your Eclipse compiler JDK compliance?? what you mean?  i dont understand 😕 😕 😕 

Link to comment
Share on other sites

  • 0
https://stackoverflow.com/questions/62637584/how-to-set-default-jdk-compliance-level-and-release-enabled-in-eclipse-jdk-prefe
https://stackoverflow.com/questions/50734953/how-to-set-jdk-compiler-compliance-level-to-10

etc. Do some search, it's your environment which needs some fixes.
Link to comment
Share on other sites

  • 0
On 11/17/2022 at 12:44 AM, Rospys said:

i download the latest eclipse but now i have this error... https://ibb.co/wBP9Nmq

Edit your Eclipse compiler JDK compliance?? what you mean?  i dont understand 😕 😕 😕 

watch this video : 

from 1:35

On 11/17/2022 at 1:03 PM, Zake said:

At first make sure that you have imported this as a java project and not as a general project. Then go to eclipse and

1) Window -> preferences -> Java -> Installed JREs -> Add -> select path -> Apply and Close

2) Right click on your project -> Java build path -> Libraries -> double click on JRE System library -> alternate JRE -> select your desired java version (which will be 11 on your case).

3) Right click on your project again -> properties ->Java compiler -> Tick "Enable project specific settings if it's not -> then select your desired "Comiler compliance level" (11 on your case too).

4) Single left click on your project -> Source (top left of eclipse window) -> Clean up -> next  -> next bla bla -> finish

5) Right click on build.xml -> Run as -> External Tools Configurations -> JRE -> Separate JRE -> JDK 11 -> apply -> run

 

After all this procedure a single step would be fine in order to compile your project which will be "right click on build.xml -> run as -> 1 ant build

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...