Skip to main content

Thread: Oracle JDK not showing up as a java alternative


i installed oracle's java se 6 jdk.

after running
code:
./jdk-6u26-linux-i586.bin
terminal says has been installed.

however, when run
code:
update-java-alternatives -l
don't see newly installed jdk. see openjdk (what installed awhile back).

possible reasons i'm unable see , use oracle's jdk?

the alternatives system set java repository packages on install , removed on uninstall (see example /var/lib/dpkg/info/openjdk-6-jdk.postinst , .prerm). in other words, done debian packaging , seemingly binary installer sun doesn't itself. can update alternatives manually ( see 'man update-alternatives') if want. pull out little script packaging scripts mentioned above


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Oracle JDK not showing up as a java alternative


Ubuntu

Comments