I just noticed this but, Jedipi, NEVER EVER RUN ROOT AS YOUR REGULAR DAY USER, IT MAY CAUSE YOUR MACHINE TO PRACTICALLY EXPLODE IF YOU ACCIDENTALLY DELETE SOMETHING!
xboxrulz
| |
|
Welcome to AstaHost - Dear Guest | |
Replying to Install Jdk1.5.0 Under Fedora Core 4
Topic Summary
xboxrulz
Posted 09 August 2005 - 11:44 PM
BabyTux
Posted 09 August 2005 - 10:09 AM
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Is it ok to set classpath like that? I've seen many people set it this way:
CLASSPATH=.:$JAVA_HOME/jre/lib
hatim
Posted 25 July 2005 - 05:00 PM
Well it doesn't look too hard to do, but what advatages does 1.5.0 bring that aren't present in 1.4.x ? Is there anything that is so urgent that we can't wait for pre packaged RPMs.
Well JDK 1.5 has a thing called generaic which is similar to STL. Also the JRE has improved UI and Performance ..especially the JNLP aka Java Web Start.
It has its advantages ..but I think Java 1.4 will stick around for another year or so in both JDK and JRE ..
What do you people think..
qwijibow
Posted 25 July 2005 - 12:58 PM
only redhat based package managed distro's can properly use RPM's. that is one reason.
anouther is that version 1.5 has a 64bit version available.
anouther is that version 1.5 has a 64bit version available.
madcrow
Posted 25 July 2005 - 11:13 AM
Well it doesn't look too hard to do, but what advatages does 1.5.0 bring that aren't present in 1.4.x ? Is there anything that is so urgent that we can't wait for pre packaged RPMs.
jedipi
Posted 25 July 2005 - 06:59 AM
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:
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.
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.
4.install java plugin for firefox
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/ 


