Quote:
Originally Posted by sanjaykatiyar It will install java in the folder from where you have executed this command.
Then you can set the path and java home in the .bash_profile file.
PATH=/usr/local/jdk-xxx/bin: (Rest of the entry)
JAVA_HOME=/usr/local/jdk-xxx
export JAVA_HOME
After saving the .bash_profile file execute this file:
$ source .bash_profile | Thank you sanjaykatiyar. You're right.
Another way to do the stuff is to change the working directory using the ch command before proceeding
__________________
"If we lived in a world where the better technology won out, then no doubt everybody and their aunt Fanny would be using GNU/Linux"
Sam Varghese
|