StendhalLocalhostServerOnLinux: Difference between revisions

Content deleted Content added
imported>Madmetzger
imported>Hendrik Brummermann
Java 7 required
Line 45:
 
== Choosing the Java Virtual Machine ==
Stendhal works with OpenJDK or SunOracle Java, you will need Java 57 or greater.
 
For Sun Java: Use your Package manager to download '''OpenJDK 67''' or SunOracle Java 1.57 or greater version. At a command line, type
java -version
and if you see anything other than the new java you just installed, then you need to update the java used. At a command line, type
Line 53:
(using sudo if you are an ubuntu user, or as root if you are another linux user) which should give you output something like this:
 
*''java-1.57.0-sunoracle 53 /usr/lib/jvm/java-1.57.0-sunoracle''
*''java-gcj 1042 /usr/lib/jvm/java-gcj''
*''java-67-openjdk 1061 /usr/lib/jvm/java-67-openjdk''
 
now, lets say you want to use the ''java-67-openjdk''. Then you type
update-java-alternatives --set java-67-openjdk
Now run
java --version