Thread: Installing Java
View Single Post
  #22 (permalink)  
Old March 2nd, 2005
zab zab is offline
Connoisseur
 
Join Date: May 16th, 2004
Location: Big Apple
Posts: 266
zab is a great assister to others; your light through the dark tunnel
Default

hi,

the "java" executable is in the "bin" directory of the jre installation. So you only need $JAVA_HOME/bin in your path, and you need that before the rest of the PATH variable.

So, simply add
PATH=/usr/java/jre1.5.0_01/bin:$PATH

before the if statement.
Reply With Quote