Jump to content
  • 0

Java 7 and 8 on same pc


Question

Posted

Hello MxC! I want to run on my computer 2 different l2 j servers. One runs with java 7 and the other with java 8. How can i have both java 7 & 8 ? Can anyone help me please?

Thanks in advance!

7 answers to this question

Recommended Posts

  • 0
Posted
10 minutes ago, Eleven said:

Hello MxC! I want to run on my computer 2 different l2 j servers. One runs with java 7 and the other with java 8. How can i have both java 7 & 8 ? Can anyone help me please?

Thanks in advance!

Why run java 7 ? Just upgrade the project to java 8 and run both.

  • 0
Posted (edited)

easy,

example

 

java -XX:+UseConcMarkSweepGC -Xmx2G -cp ./libs/*; net.sf.l2j.gameserver.GameServer

just write:

"C:\Program Files\Java\jdk1.8.0_171\bin\java" -XX:+UseConcMarkSweepGC -Xmx2G -cp ./libs/*; net.sf.l2j.gameserver.GameServer

dont remove quates "

Edited by wongerlt
  • 0
Posted

about the quotes is because when in the path exists a space " " the code ends there with quotes it continue to read the whole command in this case your java path

you can have this in your eclipse too it has options to select and work with multiple java versions

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...