Jump to content

Question

Recommended Posts

  • 0
Posted
2 minutes ago, nikpappa said:

can you adjust it to mine? so i can try it
 


java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer

 

Literally just change the "java" keyword to the path of your jdk 8 on your pc like mine....

  • 0
Posted
4 minutes ago, Zake said:

Right click on project -> source -> cleanup

thanks for answering but i am using intelij

I did invalidate caches but no change

  • 0
Posted
12 minutes ago, HyperBlown said:

3ae08e84011824870d6777e3b1866a84.png

 

This usually means wrong java version than required to run.

and how do i fix that? cant use 1.6 is so old

  • 0
Posted
1 hour ago, nikpappa said:

and how do i fix that? cant use 1.6 is so old

the 1.6 doenst say it is 1.6 tho. but for example, Back in the days when I tried running an java 8 rev on Java 7 installed. then it would give this error.

  • 0
Posted
9 minutes ago, Nightw0lf said:

you need to build project with java 1.6 compliance its not hard you just select the version to build it from project settings https://prnt.sc/15733il

I know that, i am asking if there is any other way of doing it, i dont want to use java6

  • 0
Posted
6 minutes ago, nikpappa said:

I know that, i am asking if there is any other way of doing it, i dont want to use java6

just build datapack with java whatever too.

also in java is hardcoded too the version of the build in script engine

 

java-engine.jar also need to be updated for some packs

  • 0
Posted
5 minutes ago, Nightw0lf said:

just build datapack with java whatever too.

also in java is hardcoded too the version of the build in script engine

 

yes every jdk has i believe the same script engine im not sure, i just want to have java11 preferably 

  • 0
Posted
11 minutes ago, nikpappa said:

yes every jdk has i believe the same script engine im not sure, i just want to have java11 preferably 

Sometimes in life you dont get what you want 😉
If you want to use java11 on that revision, get the source and update it to java 11. Scripts engine is prorably for java 8. Deal with it or download and use the executable path in the gameserver.bat

  • 0
Posted
3 minutes ago, HyperBlown said:

Sometimes in life you dont get what you want 😉
If you want to use java11 on that revision, get the source and update it to java 11. Scripts engine is prorably for java 8. Deal with it or download and use the executable path in the gameserver.bat

i tried adding -version:etc in the bat file but it wouldnt start the server 😞

  • 0
Posted
Just now, nikpappa said:

i tried adding -version:etc in the bat file but it wouldnt start the server 😞

Im using java15 on my pc, but a lot of my clients still rocking the java8 servers.
so this is how I start up them: 

"C:\Program Files\Java\jdk1.8.0_261\bin\java" -server -Dfile.encoding=UTF-8 -Xms2g -Xmx5g -cp config;./lib/geoeng_l2s.jar;./lib/* l2s.gameserver.GameServer



 

  • Upvote 1
  • 0
Posted (edited)
2 minutes ago, HyperBlown said:

Im using java15 on my pc, but a lot of my clients still rocking the java8 servers.
so this is how I start up them: 



"C:\Program Files\Java\jdk1.8.0_261\bin\java" -server -Dfile.encoding=UTF-8 -Xms2g -Xmx5g -cp config;./lib/geoeng_l2s.jar;./lib/* l2s.gameserver.GameServer



 

can you adjust it to mine? so i can try it
 

java -Djava.util.logging.manager=net.sf.l2j.util.L2LogManager -Xmx1024m -cp ./../libs/*;l2jserver.jar net.sf.l2j.gameserver.GameServer

 

Edited by nikpappa
  • 0
Posted
8 minutes ago, HyperBlown said:

Literally just change the "java" keyword to the path of your jdk 8 on your pc like mine....

i fking love you, it worked 

Guest
This topic is now closed to further replies.
×
×
  • Create New...