|
Page: Installing Java 5 on Linux
INSTALLING JAVA 5 ON LINUX
Here is a description to install Suns Java 5 on Linux Systems. |
First download the latest java binary package from sun homepage. |
Afterwards execute it (after setting executable flag). |
chmod u+x ./jdk-1_5_0_04-linux-i586.bin |
|
./jdk-1_5_0_04-linux-i586.bin |
|
After this there will be a folder in the directory where you executed the binary. |
Move the folder to any desired location. |
Last step is to set some environment variables |
export JAVA_HOME=/opt/jdk1.5.0_04 |
|
export PATH=/opt/jdk1.5.0_04/bin:$PATH |
|
|