|
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 anyway, here is the address: http://java.sun.com/j2se/1.5.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. [CONSOLE] ./jdk-1_5_0-linux-i586.bin [/CONSOLE] 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. CODEJAVA_HOME=/usr/local/jddk1.5.0_04PATH=$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 [CONSOLE]ln -s /usr/local/dk1.5.0_04/jre/plugin/i386/ns7/libjavaplugin_oji.so /root/.mozilla/plugins/ [/CONSOLE]
Mon Jul 25, 2005
Reply New Discussion
|