InstallingInLinux: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>AVRS
Debian — OpenJDK
imported>AVRS
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 20: Line 20:
== Debian ==
== Debian ==


Install OpenJDK (openjdk-6-jre) and run
Install OpenJDK Java runtime (openjdk-6-jre) and run


<code>java -jar stendhal-x.xx.jar</code>
<code>java -jar stendhal-x.xx.jar</code>

Latest revision as of 08:57, 29 November 2012

For the stendhal client

Ubuntu

Under Ubuntu 8 (Hardy Heron):

Stendhal won't work with the GNU Java Compiler (GCJ), which is the stock Java installed with Heron. In a terminal window, run:

sudo aptitude install sun-java6-bin sun-java6-jre

Follow the prompts and accept the license to install the Sun Java distribution. After Sun-Java is installed, then run

sudo update-alternatives --config java

sudo update-alternatives --config javaws

Select the Sun Java tools where appropriate. Afterward, you should be able to start stendhal with

java -jar stendhal-x.xx.jar

Debian

Install OpenJDK Java runtime (openjdk-6-jre) and run

java -jar stendhal-x.xx.jar