PDA

View Full Version : [ubuntu] java installation problem



h33d sight3d
December 24th, 2008, 06:27 PM
i have downloaded java from the java website and i go and try to install it and it errors
like this
---------------------------------------------------------------------------
Could not open the file /home/
dave/Desktop/jre-1_5_0_02-linux-amd64.bin.

gedit has not been able to detect the character coding.
Please check that you are not trying to open a binary file.
Select a character coding from the menu and try again.
---------------------------------------------------------------------------
can someone help me please...:confused:

taurus
December 24th, 2008, 06:31 PM
cd ~/Deskop
chmod 755 jre-1_5_0_02-linux-amd64.bin
sudo mv jre-1_5_0_02-linux-amd64.bin /opt
cd /opt
sudo ./jre-1_5_0_02-linux-amd64.bin
Unless you just want to unpack/install it in your own $HOME/Desktop.

namdung
December 24th, 2008, 07:23 PM
Use Synaptic Package Manager for hassle free installation of Java.

jamesstansell
December 25th, 2008, 05:29 PM
i have downloaded java from the java website and i go and try to install it and it errors
like this
---------------------------------------------------------------------------
Could not open the file /home/
dave/Desktop/jre-1_5_0_02-linux-amd64.bin.



Good advice from both taurus and namdung, depending on your needs.

I'm wondering - why and how did you download such an old JRE version?