Thread: Installing Java
View Single Post
  #2 (permalink)  
Old September 8th, 2003
nDiScReEt's Avatar
nDiScReEt nDiScReEt is offline
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default

First...

Remove kaffe or jdkgcj from your system if they exist.

Second...

Install the latest java rpm or bin (i.e. j2sdk1.4.1 or whatever is clever).

Third...

The order of creating proper java variable paths should be entered in this order after the PATH variable in .bash_profile or .bashrc:

export JAVA_HOME=/usr/java/j2sdk1.4.1_02
export PATH=$JAVA_HOME/bin:$PATH

Fourth...

A nice typed command:

source ~/.bash_profile

or

source ~/.bashrc

Test...

java -version

which java

HTH

altoine
Reply With Quote