Java wont install

david nux at blueyonder.co.uk
Thu Jul 7 04:59:17 UTC 2005


> :
> 
> > hey, I'm new to Ubuntu(just installed today) so I'm not sure if this
> > goes here but heres my problem:the rest of my family uses the computer
> > differently then me so my sister needs java to play some games but the
> > linux installer for it wont work is it not compatle with this version
> > of linux(i'm realitily new to linux too I only got it because I want
> > to learn computer programing and stuff like that) thanks for any help

Go to Sun and get the java jre 1.5.0_03 bin file. (Not the one that is
an rpm in a self extracting bin file).
Download it and run it with the following command.
sudo sh ./jre*
Scroll through the agreement and say Yes. Once it has inflated itself
you'll have a new folder called jre1.5.0_03 (I think).

Move this to /usr/lib.
sudo mv ./jre* /usr/lib

Next, clear any old java symlink from /usr/bin
sudo rm -f /usr/bin/java

Create a new symlink from the java executable to /usr/bin
sudo ln -s /usr/lib/jre1.5.0_03/bin/java /usr/bin

Finally, symlink the plugin to the browser plugins folder.
sudo ln
-s /usr/lib/jre1.5.0_03/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla-firefox/plugins

Test the java installation by typing
java -version
at the command prompt.

regards

nux





More information about the ubuntu-users mailing list