Mohama: you missed part of the instructions:
Quote:
Add /usr/java/bin to your path in your file ~/.bash_profile
|
Your PATH is setup in your
.bash_profile file.
Edit this file: ~/.bash_profile
Look for a row that says "PATH=".
Go to the end of this line and add ":/usr/java/..." (whatever your path to Java is) - Note: Dont forget the colon to separate the new path from the existing ones.
Save and exit.
Open a new shell window and try just saying:
"> javac <program name>"
Your old window WILL NOT work this way unless you do the ~/.bash_profile instruction that mrcheeks said.
Does this make sense?