Updating Java: Can't find where to set Path, Can't find old Java!
I had a thread about this on the n00b forum, but maybe this is too Suse specific for the guys hanging out there.
I installed jdk 1.6.7 (it's in /usr/java/jdk1.6.0_07/), however, when I run java, it's still the old version 1.4.2. I need to update the path.
Hilariously, I can't find where to do this, and I can't even find where the java 1.4.2 is installed. Unless it was in the /usr/java/jdk1.4*/ and it's somehow still running in memory. I didn't think java would constantly run though as you invoke the VM individually and such.
I was thinking I need to update the path for every user on the system not just an individual. However, now I'm wondering if instructors shouldn't be telling students how to set their own damned paths!
Anyway, I'd like to do it myself if it can be done. And it's not vital that I find jdk1.4* I just need to change the path. I am curious about where it's hiding though :)
Add "/usr/java/jdk1.6.0_07/bin" to PATH in your /etc/profile (globally), or your $HOME/.bash_profile (for just your logon). You can also define JAVA_HOME in either/both of the same files.
Here are some links that might help:
|All times are GMT -5. The time now is 01:59 PM.|