[opensuse] Crap, I broke java plugin on 11.0 x86_64 -- howto fix
![](https://seccdn.libravatar.org/avatar/27aacf61a13c66fcc083fcf8a84823bc.jpg?s=120&d=mm&r=g)
Listmates; After finally getting my weather sites working with sun java, for some reason when I uninstalled openjdk, my java quit working. What does openjdk have to do with sun java? Here is my present config: [01:52 alchemy:/home/david/webdev/data] # update-alternatives --display java java - status is auto. link currently points to /usr/lib64/jvm/jre-1.6.0-sun/bin/java /usr/lib64/jvm/jre-1.6.0-sun/bin/java - priority 1613 slave ControlPanel: /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel slave keytool.1.gz: /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz slave rmid: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid slave servertool.1.gz: /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz slave javaws.1.gz: /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz slave jre_exports: /usr/lib64/jvm-exports/jre-1.6.0-sun slave policytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool slave orbd: /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd slave rmiregistry: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry slave tnameserv: /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz slave keytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz slave javaws: /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws slave servertool: /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool slave java.1.gz: /usr/share/man/man1/java-java-1_6_0-sun.1.gz slave policytool.1.gz: /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz slave jre: /usr/lib64/jvm/jre-1.6.0-sun /usr/lib64/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave jre_exports: /usr/lib64/jvm-exports/jre-1.5.0-gcj slave rmiregistry: /usr/lib64/jvm/jre-1.5.0-gcj/bin/rmiregistry slave jre: /usr/lib64/jvm/jre-1.5.0-gcj Current `best' version is /usr/lib64/jvm/jre-1.6.0-sun/bin/java. I have java-1_6_0-sun-plugin-1.6.0.u12-1.2.x86_64 installed (I had to install it after openjdk was removed), but still no java on my weather sites. I have been through: http://en.opensuse.org/Java/setDefaultJava Is there some other magic update-alternatives approach I need to take? Thanks in advance. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/0d0434a1c7ca43ef1a88fee5ecda1edf.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David C. Rankin wrote:
Listmates;
After finally getting my weather sites working with sun java, for some reason when I uninstalled openjdk, my java quit working. What does openjdk have to do with sun java? Here is my present config:
[01:52 alchemy:/home/david/webdev/data] # update-alternatives --display java java - status is auto. link currently points to /usr/lib64/jvm/jre-1.6.0-sun/bin/java /usr/lib64/jvm/jre-1.6.0-sun/bin/java - priority 1613 slave ControlPanel: /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel slave keytool.1.gz: /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz slave rmid: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid slave servertool.1.gz: /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz slave javaws.1.gz: /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz slave jre_exports: /usr/lib64/jvm-exports/jre-1.6.0-sun slave policytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool slave orbd: /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd slave rmiregistry: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry slave tnameserv: /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz slave keytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz slave javaws: /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws slave servertool: /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool slave java.1.gz: /usr/share/man/man1/java-java-1_6_0-sun.1.gz slave policytool.1.gz: /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz slave jre: /usr/lib64/jvm/jre-1.6.0-sun /usr/lib64/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave jre_exports: /usr/lib64/jvm-exports/jre-1.5.0-gcj slave rmiregistry: /usr/lib64/jvm/jre-1.5.0-gcj/bin/rmiregistry slave jre: /usr/lib64/jvm/jre-1.5.0-gcj Current `best' version is /usr/lib64/jvm/jre-1.6.0-sun/bin/java.
I have java-1_6_0-sun-plugin-1.6.0.u12-1.2.x86_64 installed (I had to install it after openjdk was removed), but still no java on my weather sites. I have been through: http://en.opensuse.org/Java/setDefaultJava Is there some other magic update-alternatives approach I need to take? Thanks in advance.
The jdk implies than openjdk is a software development version. You uninstalled a jdk this may have setup some development links that are no longer functional after you uninstalled it. (If this is the case openjdk is not playing nice). Some error reports might help... what happens if you run a Java app at the command line... (see man java).. If some of the components are missing or broken they will only report an error when called (I do not recall coming across a tool to validate a java installation). If you have an executable JAR or Java code this can be used to test whether your java config is basically functional. The java runtime engine can be called with an explicit class path, rather than the implicit class path implied in the above...an approach often used in development work (when I suspect the update-alternatives approach may unravel somewhat)... This might be usable to find what is broken by attempting to run the code from the command line building up the classpath for each run with missing entries. (Or alternatively reinstall everything from scratch). Not a lot of help I know but may give a pointer... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkm4we0ACgkQasN0sSnLmgImWQCfdNZ3FLi8WpeIT9fwPTIOtBWN +TEAoOu0eem/8ohi/2bwptm530b+3e84 =MkFj -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/3a766c4a0b64a5d1b06b4a786d5e3a9e.jpg?s=120&d=mm&r=g)
On Thursday 12 of March 2009 07:57:59 David C. Rankin wrote:
Listmates;
After finally getting my weather sites working with sun java, for some reason when I uninstalled openjdk, my java quit working. What does openjdk have to do with sun java? Here is my present config:
[01:52 alchemy:/home/david/webdev/data] # update-alternatives --display java java - status is auto. link currently points to /usr/lib64/jvm/jre-1.6.0-sun/bin/java /usr/lib64/jvm/jre-1.6.0-sun/bin/java - priority 1613 slave ControlPanel: /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel slave keytool.1.gz: /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz slave rmid: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid slave servertool.1.gz: /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz slave javaws.1.gz: /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz slave jre_exports: /usr/lib64/jvm-exports/jre-1.6.0-sun slave policytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool slave orbd: /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd slave rmiregistry: /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry slave tnameserv: /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz slave keytool: /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz slave javaws: /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws slave servertool: /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool slave java.1.gz: /usr/share/man/man1/java-java-1_6_0-sun.1.gz slave policytool.1.gz: /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz slave jre: /usr/lib64/jvm/jre-1.6.0-sun /usr/lib64/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave jre_exports: /usr/lib64/jvm-exports/jre-1.5.0-gcj slave rmiregistry: /usr/lib64/jvm/jre-1.5.0-gcj/bin/rmiregistry slave jre: /usr/lib64/jvm/jre-1.5.0-gcj Current `best' version is /usr/lib64/jvm/jre-1.6.0-sun/bin/java.
I have java-1_6_0-sun-plugin-1.6.0.u12-1.2.x86_64 installed (I had to install it after openjdk was removed), but still no java on my weather sites. I have been through: http://en.opensuse.org/Java/setDefaultJava Is there some other magic update-alternatives approach I need to take? Thanks in advance.
The java plugin is called javaplugin, so use update-alternatives --command javaplugin. The new default one is libjnjp2.so, which don't work with some sites and works only under Gecko 1.9 based browser - Firefox3 and 11.1 version of Epiphany I guess. If you use Opera, or Seamonkey, you cannot use a new one. I planned to changed a packaging of it to allow install an old legacy plugin, which don't work well with a Firefox3, but sometimes is necessary.
-- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
![](https://seccdn.libravatar.org/avatar/27aacf61a13c66fcc083fcf8a84823bc.jpg?s=120&d=mm&r=g)
Michal Vyskocil wrote:
I have java-1_6_0-sun-plugin-1.6.0.u12-1.2.x86_64 installed (I had to install it after openjdk was removed), but still no java on my weather sites. I have been through: http://en.opensuse.org/Java/setDefaultJava Is there some other magic update-alternatives approach I need to take? Thanks in advance.
The java plugin is called javaplugin, so use update-alternatives --command javaplugin.
The new default one is libjnjp2.so, which don't work with some sites and works only under Gecko 1.9 based browser - Firefox3 and 11.1 version of Epiphany I guess. If you use Opera, or Seamonkey, you cannot use a new one.
I planned to changed a packaging of it to allow install an old legacy plugin, which don't work well with a Firefox3, but sometimes is necessary.
Michal, Thank you. Hopefully they will get the javaplugin fixed so it works with both Opera and Firefox. Last night, I just reinstalled the openjdk plugin (and openjdk) and the Java in Firefox started working again for: http://radar.weather.gov/radar.php?rid=SHV&product=N0R&overlay=11101111&loop=yes Opera is still dead in the water though. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
David C. Rankin
-
G T Smith
-
Michal Vyskocil