View Single Post
  #6 (permalink)  
Old September 25th, 2001
twist's Avatar
twist twist is offline
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Smile Path

This post is a little late but anyway. :-) Deano, your path is incorrect. It's not your class path but rather your shell path. The PATH variable tells the system where to look for programs to execute. You've included a reference to the the Java executable when you need to include the *directory* that contains the java executable. Change:

PATH=$PATH:$HOME/bin:/home/deano/jre1.3.1/bin/java

to

PATH=$PATH:$HOME/bin:/home/deano/jre1.3.1/bin

You should only have to include this in .bash_profile. Remove the one from .bashrc. Log out of the system and log back in. Test out your new path by opening a terminal and typing:

java -version

If you see some information then everything should be alright PATHwise.
Reply With Quote