Posted in Computers & Tech / Operating Systems / GNU/Linux
Author: jedipi Total-Replies: 5
Install jdk1.5.0 under Fedora core 4
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 . Everone know where to get it.
anyway, here is the address:
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.
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.
export JAVA_HOME PATH CLASSPATH
4.install java plugin for firefox
[CONSOLE]ln -s /usr/local/dk1.5.0_04/jre/plugin/i386/ns7/libjavaplugin_oji.so /root/.mozilla/plugins/ [/CONSOLE]