InstallingInLinux: Difference between revisions

From Arianne
Jump to navigation Jump to search
Content deleted Content added
imported>Hendrik Brummermann
No edit summary
imported>Hendrik Brummermann
No edit summary
Line 9: Line 9:


<code>sudo update-alternatives --config java</code>
<code>sudo update-alternatives --config java</code>
<code>sudo update-alternatives --config javaws</code>


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

Revision as of 19:02, 16 July 2009

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