Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Ok, I've just downloaded and installed the Java 2 SDK and did 'export PATH=$PATH:/usr/local/java' (without the quotes of course). The problem is that whenever I close the term, it unsets and goes back to the default. Any ideas? Thanx.
You can append to the PATH variable by adding to your new path to the .bash_profile .bash_profile is the login script for a user and it is located in the HOME directory of each user.
You can set system wide variables and startup programs by adding to the /etc/profile
I posted at the same time as jalal,
mental note... next time... type faster.