I used to use JDK1.4.2.
However JDK 1.5.0 was released long time ago.
Today, I got it updated.
Here are the steps for newbies:
1. Download Jdk1.5.0. This is a must
anyway, here is the address:
http://java.sun.com/....0/download.jsp
The newest version is JDK 5.0 Update 4.
you can choose Linux self-extracting file or Linux RPM in self-extracting file.
For me, I use Linux self-extracting file (jdk-1_5_0_04-linux-i586.bin)
2. Change the directory to where you save the .bin file.
then run/execute it.
terminal@console
./jdk-1_5_0-linux-i586.bin
A directory jdk1.5.0_04 will be extracted automatically.
After that, move the directory jdk1.5.0_04 to /usr/local/. Easy!!??
3.Setup evironment variable.
For normal user, you need to edit your user profile
it locates in your home directory, ~/.bashrc
use you favorite text editor to open it, and add the follow content into it.
JAVA_HOME=/usr/local/jddk1.5.0_04 PATH=$PATH:$JAVA_HOME/bin CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar export JAVA_HOME PATH CLASSPATH
4.install java plugin for firefox
terminal@console
ln -s /usr/local/dk1.5.0_04/jre/plugin/i386/ns7/libjavaplugin_oji.so /root/.mozilla/plugins/ 











