Results 1 to 2 of 2
I was installing Java, and they wanted to install it in the /opt directory. However, that's not on the default path, so my options are:
1. Add another directory to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-18-2006 #1Just Joined!
- Join Date
- Apr 2005
- Posts
- 21
Where to Install Programs?
I was installing Java, and they wanted to install it in the /opt directory. However, that's not on the default path, so my options are:
1. Add another directory to the path
2. Create a symbolic or hard link from /usr/local to the Java install directory
3. Reinstall Java in /usr/local
It sounds like to me that (3) is the best option, what do you guys think? If I add another directory to the path I could clutter up my path...
- 01-18-2006 #2
I'd just add the directory to your path. It's perfectly acceptable to do that.
just add the line:
to your ~/.bashrcCode:PATH=$PATH:/opt/java/bin


Reply With Quote
