Changes

no edit summary
$ sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.6.0_32/bin/javac" 1
</pre>
Do the last step as well for javap, javah, javadoc , javaws and javawsjar.
Afterwards set the alternatives link to the newly installed Java version:
$ sudo update-alternatives --config javac
</pre>
Do the last step as well for javap, javah, javadoc , javaws and javawsjar.
See also https://help.ubuntu.com/community/Java#Oracle_.28Sun.29_Java_6
0
edits