I get this when trying the command suggested by Alex.
sudo update-java-alternatives -s java-6-sun
No alternatives for firefox-javaplugin.so.
No alternatives for iceape-javaplugin.so.
No alternatives for iceweasel-javaplugin.so.
No alternatives for midbrowser-javaplugin.so.
No alternatives for mozilla-javaplugin.so.
No alternatives for xulrunner-addons-javaplugin.so.
No alternatives for xulrunner-javaplugin.so.
Using '/usr/lib/jvm/java-6-sun/bin/appletviewer' to provide 'appletviewer'.
Using '/usr/lib/jvm/java-6-sun/bin/apt' to provide 'apt'.
Using '/usr/lib/jvm/java-6-sun/bin/extcheck' to provide 'extcheck'.
Using '/usr/lib/jvm/java-6-sun/bin/idlj' to provide 'idlj'.
Using '/usr/lib/jvm/java-6-sun/bin/jarsigner' to provide 'jarsigner'.
Using '/usr/lib/jvm/java-6-sun/bin/jar' to provide 'jar'.
Using '/usr/lib/jvm/java-6-sun/bin/javac' to provide 'javac'.
Using '/usr/lib/jvm/java-6-sun/bin/javadoc' to provide 'javadoc'.
Using '/usr/lib/jvm/java-6-sun/bin/javah' to provide 'javah'.
Using '/usr/lib/jvm/java-6-sun/bin/javap' to provide 'javap'.
Using '/usr/lib/jvm/java-6-sun/bin/jconsole' to provide 'jconsole'.
Using '/usr/lib/jvm/java-6-sun/bin/jdb' to provide 'jdb'.
Using '/usr/lib/jvm/java-6-sun/bin/jhat' to provide 'jhat'.
Using '/usr/lib/jvm/java-6-sun/bin/jinfo' to provide 'jinfo'.
Using '/usr/lib/jvm/java-6-sun/bin/jmap' to provide 'jmap'.
Using '/usr/lib/jvm/java-6-sun/bin/jps' to provide 'jps'.
Using '/usr/lib/jvm/java-6-sun/bin/jrunscript' to provide 'jrunscript'.
Using '/usr/lib/jvm/java-6-sun/bin/jsadebugd' to provide 'jsadebugd'.
Using '/usr/lib/jvm/java-6-sun/bin/jstack' to provide 'jstack'.
Using '/usr/lib/jvm/java-6-sun/bin/jstatd' to provide 'jstatd'.
Using '/usr/lib/jvm/java-6-sun/bin/jstat' to provide 'jstat'.
Using '/usr/lib/jvm/java-6-sun/bin/native2ascii' to provide 'native2ascii'.
Using '/usr/lib/jvm/java-6-sun/bin/rmic' to provide 'rmic'.
Using '/usr/lib/jvm/java-6-sun/bin/schemagen' to provide 'schemagen'.
Using '/usr/lib/jvm/java-6-sun/bin/serialver' to provide 'serialver'.
Using '/usr/lib/jvm/java-6-sun/bin/wsgen' to provide 'wsgen'.
Using '/usr/lib/jvm/java-6-sun/bin/wsimport' to provide 'wsimport'.
Using '/usr/lib/jvm/java-6-sun/bin/xjc' to provide 'xjc'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/java' to provide 'java'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/keytool' to provide 'keytool'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/orbd' to provide 'orbd'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/pack200' to provide 'pack200'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/policytool' to provide 'policytool'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/rmid' to provide 'rmid'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/rmiregistry' to provide 'rmiregistry'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/servertool' to provide 'servertool'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/tnameserv' to provide 'tnameserv'.
Using '/usr/lib/jvm/java-6-sun/jre/bin/unpack200' to provide 'unpack200'.
update-java-alternatives: plugin alternative does not exist: /usr/lib/jvm/java-6-sun/jre/plugin/amd64/ns7/libjavaplugin_oji.so
I get this when trying the command suggested by Alex.
sudo update- java-alternativ es -s java-6-sun javaplugin. so. javaplugin. so. javaplugin. so. javaplugin. so. javaplugin. so. addons- javaplugin. so. javaplugin. so. jvm/java- 6-sun/bin/ appletviewer' to provide 'appletviewer'. jvm/java- 6-sun/bin/ apt' to provide 'apt'. jvm/java- 6-sun/bin/ extcheck' to provide 'extcheck'. jvm/java- 6-sun/bin/ idlj' to provide 'idlj'. jvm/java- 6-sun/bin/ jarsigner' to provide 'jarsigner'. jvm/java- 6-sun/bin/ jar' to provide 'jar'. jvm/java- 6-sun/bin/ javac' to provide 'javac'. jvm/java- 6-sun/bin/ javadoc' to provide 'javadoc'. jvm/java- 6-sun/bin/ javah' to provide 'javah'. jvm/java- 6-sun/bin/ javap' to provide 'javap'. jvm/java- 6-sun/bin/ jconsole' to provide 'jconsole'. jvm/java- 6-sun/bin/ jdb' to provide 'jdb'. jvm/java- 6-sun/bin/ jhat' to provide 'jhat'. jvm/java- 6-sun/bin/ jinfo' to provide 'jinfo'. jvm/java- 6-sun/bin/ jmap' to provide 'jmap'. jvm/java- 6-sun/bin/ jps' to provide 'jps'. jvm/java- 6-sun/bin/ jrunscript' to provide 'jrunscript'. jvm/java- 6-sun/bin/ jsadebugd' to provide 'jsadebugd'. jvm/java- 6-sun/bin/ jstack' to provide 'jstack'. jvm/java- 6-sun/bin/ jstatd' to provide 'jstatd'. jvm/java- 6-sun/bin/ jstat' to provide 'jstat'. jvm/java- 6-sun/bin/ native2ascii' to provide 'native2ascii'. jvm/java- 6-sun/bin/ rmic' to provide 'rmic'. jvm/java- 6-sun/bin/ schemagen' to provide 'schemagen'. jvm/java- 6-sun/bin/ serialver' to provide 'serialver'. jvm/java- 6-sun/bin/ wsgen' to provide 'wsgen'. jvm/java- 6-sun/bin/ wsimport' to provide 'wsimport'. jvm/java- 6-sun/bin/ xjc' to provide 'xjc'. jvm/java- 6-sun/jre/ bin/java' to provide 'java'. jvm/java- 6-sun/jre/ bin/keytool' to provide 'keytool'. jvm/java- 6-sun/jre/ bin/orbd' to provide 'orbd'. jvm/java- 6-sun/jre/ bin/pack200' to provide 'pack200'. jvm/java- 6-sun/jre/ bin/policytool' to provide 'policytool'. jvm/java- 6-sun/jre/ bin/rmid' to provide 'rmid'. jvm/java- 6-sun/jre/ bin/rmiregistry ' to provide 'rmiregistry'. jvm/java- 6-sun/jre/ bin/servertool' to provide 'servertool'. jvm/java- 6-sun/jre/ bin/tnameserv' to provide 'tnameserv'. jvm/java- 6-sun/jre/ bin/unpack200' to provide 'unpack200'. java-alternativ es: plugin alternative does not exist: /usr/lib/ jvm/java- 6-sun/jre/ plugin/ amd64/ns7/ libjavaplugin_ oji.so
No alternatives for firefox-
No alternatives for iceape-
No alternatives for iceweasel-
No alternatives for midbrowser-
No alternatives for mozilla-
No alternatives for xulrunner-
No alternatives for xulrunner-
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
Using '/usr/lib/
update-