I just installed the latest java in /usr/jdk/jdk1.6.0_30
Now how do I make this java is the default java for the entire OS? As of now it is still using java 1.5
Thanks.
I just installed the latest java in /usr/jdk/jdk1.6.0_30
Now how do I make this java is the default java for the entire OS? As of now it is still using java 1.5
Thanks.
Found it...
I feel that just changing the symlink
/usr/bin/java
is insufficient, because there's more than one Java symlink in /usr/bin:Instead, I would take advantage of the fact that
/usr/java
is itself a symlink and replace it instead of 6+ others. Here is how I made JDK 8 the default: