To use Java, the environment variable should be set.
I issued commands in Terminal:
sugedit /etc/profileThen, I added the lines below at the end of the file and saved this file:
PATH=$PATH:/path/to/Java/bin/folder/jre1.6.0_32/bin
export PATHDoing so allowed all users to use Java.
I restarted my computer to apply the changes.
No comments:
Post a Comment