InstallingInLinux: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Luno
Initial page created.
imported>Luno
m Ubuntu: prettified text
Line 1: Line 1:
== Ubuntu ==
== Ubuntu ==
Under Ubuntu 8 (Hardy Heron), try the following:
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:

<code>sudo aptitude install sun-java6-bin sun-java6-jre</code>
<code>sudo aptitude install sun-java6-bin sun-java6-jre</code>

Follow the prompts and accept the license to install the Sun Java distribution. Stendhal won't work with the GNU Java Compiler (GCJ), which is the stock Java installed with Heron. After Sun-Java is installed, then run <code>sudo update-alternatives --all</code> and select the Sun java tools where appropriate. Afterward, you should be able to start stendhal with <code>java -jar stendhal-x.xx.jar</code>
Follow the prompts and accept the license to install the Sun Java distribution. After Sun-Java is installed, then run

<code>sudo update-alternatives --all</code>

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

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

Revision as of 05:28, 27 August 2008

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 --all

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

java -jar stendhal-x.xx.jar