Path Make sure the bin directory where the java binary is located (Example: /usr/local/java/bin) is in your path. You can change your path by adding lines to the .bash_profile file in your home directory or to /etc/profile
The lines might look something like this.
PATH=$PATH:/usr/local/java/bin
export PATH
You can refresh your path by typing ". .bash_profile" or "source .bash_profile" (or ". /etc/profile" or "source /etc/profile")
Then type "java -version" to make sure Sun's version of java is being executed. If not, run "which java" and rename or delete the binary that it's finding, such as Kaffe's version at /usr/bin/java |