StendhalLocalhostServerOnLinux: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
Be my wife? And other server extensions: removed section on server extensions as marriage is now part of the game
imported>Hendrik Brummermann
Getting the materials: added openjdk
Line 20: Line 20:
Stendhal works with OpenJDK or Sun Java, you will need Java 5 or greater.
Stendhal works with OpenJDK or Sun Java, you will need Java 5 or greater.


For Sun Java: Use your Package manager to download '''Sun Java 1.5''' or greater version. At a command line, type
For Sun Java: Use your Package manager to download '''OpenJDK 6''' or Sun Java 1.5 or greater version. At a command line, type
java -version
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
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 27: Line 27:


*java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
*java-1.5.0-sun 53 /usr/lib/jvm/java-1.5.0-sun
*java-6-sun 63 /usr/lib/jvm/java-6-sun
*java-gcj 1042 /usr/lib/jvm/java-gcj
*java-gcj 1042 /usr/lib/jvm/java-gcj
*java-6-openjdk 1061 /usr/lib/jvm/java-6-openjdk


now, lets say you want to use the java-1.5.0-sun. Then you type
now, lets say you want to use the java-6-openjdk. Then you type
update-java-alternatives --set java-1.5.0-sun
update-java-alternatives --set java-6-openjdk
Now run ''java --version'' again to check it worked.
Now run ''java --version'' again to check it worked.