Thread: Installing Java
View Single Post
  #8 (permalink)  
Old April 10th, 2003
b4k4^ni b4k4^ni is offline
Disciple
 
Join Date: January 13th, 2003
Posts: 10
b4k4^ni is flying high
Default

CelestialLegends, you just mihgt have helped unlock one of the mysteries of tha java VM installation.

Here is the scoop:

Your Java installation directory is

/usr/java/j2re1.4.1_02


However the java executable is in a subdirectory called "bin" in otherwords

/usr/java/j2re1.4.1_02/bin

so your PATH should be

/usr/java/j2re1.4.1_02/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/opt/kde2/bin:.:/usr/lib/java/bin:/opt/gnome/bin

Do the change then logout and login again for the profile to take effect. Check your PATH and do

which java

Should give you

/usr/java/j2re1.4.1_02/bin/java

Find out the version with:

java -version

You should be OK.

Last edited by b4k4^ni; June 7th, 2003 at 05:42 AM.
Reply With Quote