PDA

View Full Version : path variable



michaelcarlson
14th August 2006, 01:19 AM
I just installed j2ee1.4 and would like to verify and maybe set the classpath var, but when I try to find .bash_profile no such file.
Fedora 4
Thanks

tashirosgt
14th August 2006, 02:54 PM
In what directory are you looking for the file .bash_profile? It it isn't in your home directory, you can always create it.

If you have the GNU version of java installed, the files /usr/bin/javac and /usr/bin/java may be linked to the GNU version even after you install the SUN version. So you should redo those links.

uth
14th August 2006, 03:02 PM
There are several files you could set the variable in, .bash_profile, .profile, .bashrc, /etc/profile. Each one serves a slightly different purpose (/etc/profile is global, .profile is used by all bourne-derived shells, not just bash, etc)