<sigh> Every time I update openSUSE, it’s the same old issue - how to get Java working.
I am running openSUSE 11.4 64-bit, with Firefox 3.6.16 (I’m waiting a bit before installing Firefox 4.0).
Yes, I’ve uninstalled the openjdk version of Java before anyone asks - although it seems every time I run an update it wants to reinstall it for some reason despite Sun Java being on the system.
Here is what Firefox shows in about:plugins:
Installed plugins
Find more information about browser plugins at mozilla.org.
Help for installing plugins is available from plugindoc.mozdev.org.
Shockwave Flash
File: libflashplayer.so
Version:
Shockwave Flash 10.1 r53
MIME Type Description Suffixes Enabled
application/x-shockwave-flash Shockwave Flash swf Yes
application/futuresplash FutureSplash Player spl Yes
Default Plugin
File: libnullplugin.so
Version: 1.0.0.15
The default plugin handles plugin data for mimetypes and extensions that are not specified and facilitates downloading of new plugins.
MIME Type Description Suffixes Enabled
-
All types .* No
PicasaFile: npPicasa3.so
Version:
Picasa plugin
MIME Type Description Suffixes Enabled
application/x-picasa-detect 3.0 pinstall Yes
i.e., nothing.
Here is what “java -version” shows:
rhack@spectrum2:~> java -version
java version “1.6.0_24”
Java™ SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot™ 64-Bit Server VM (build 19.1-b02, mixed mode)
Here is what the rpm query shows:
rhack@spectrum2:~> rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} → %{VENDOR}
’ ‘java-’
java-1_6_0-sun-1.6.0.u24-1.2.1-x86_64 → openSUSE
java-ca-certificates-1-9.1-noarch → openSUSE
java-1_6_0-sun-alsa-1.6.0.u24-1.2.1-x86_64 → openSUSE
java-1_6_0-sun-plugin-1.6.0.u24-1.2.1-x86_64 → openSUSE
Here is what the mmcheck same query shows:
Command: rpm --query --all --queryformat '%{NAME}-%{VERSION}-%{RELEASE}-%{ARCH} → %{VENDOR}
’ ‘java-’
java-1_6_0-sun-1.6.0.u24-1.2.1-x86_64 -> openSUSE
java-ca-certificates-1-9.1-noarch -> openSUSE
java-1_6_0-sun-alsa-1.6.0.u24-1.2.1-x86_64 -> openSUSE
java-1_6_0-sun-plugin-1.6.0.u24-1.2.1-x86_64 -> openSUSE
You should expect to have only Sun Java Packages installed. If your files
include the name → openjdk <–, it is suggested that they be uninstalled.
Here is what update-alternatives shows:
spectrum2:/home/rhack/bin # update-alternatives --config javaplugin
There is only 1 program which provides javaplugin
(/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libnpjp2.so). Nothing to configure.
spectrum2:/home/rhack/bin # update-alternatives --all
There is only 1 program which provides javaplugin
(/usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libnpjp2.so). Nothing to configure.
There is only 1 program which provides java
(/usr/lib64/jvm/jre-1.6.0-sun/bin/java). Nothing to configure.
Here is what a list of /usr/lib/browser-plugins shows:
spectrum2:/home/rhack # cd /usr/lib/browser-plugins
spectrum2:/usr/lib/browser-plugins # ll
total 11860
-rwxr-xr-x 1 root root 12127284 Mar 28 12:21 libflashplayer.so
lrwxrwxrwx 1 root root 44 Apr 5 12:01 nppdf.so → …/Adobe/Reader9/Browser/intellinux/nppdf.so
lrwxrwxrwx 1 root root 39 Jan 13 12:11 npPicasa3.so → /opt/google/picasa/3.0/lib/npPicasa3.so
Here is what /usr/lib64/browser-plugins shows:
spectrum2:/usr/lib64/browser-plugins # ll
total 12756
lrwxrwxrwx 1 root root 28 Apr 24 13:47 javaplugin.so → /etc/alternatives/javaplugin
-rw-r–r-- 1 root root 10606256 Apr 5 16:18 libflashplayer.so
lrwxrwxrwx 1 root root 34 Apr 5 11:42 libvlcplugin.so → …/mozilla/plugins/libvlcplugin.so
-rwxr-xr-x 1 root root 296016 Mar 25 07:53 mplayerplug-in-dvx.so
-rwxr-xr-x 1 root root 1067 Mar 25 07:53 mplayerplug-in-dvx.xpt
-rwxr-xr-x 1 root root 296016 Mar 25 07:53 mplayerplug-in-gmp.so
-rwxr-xr-x 1 root root 1067 Mar 25 07:53 mplayerplug-in-gmp.xpt
-rwxr-xr-x 1 root root 296016 Mar 25 07:53 mplayerplug-in-qt.so
-rwxr-xr-x 1 root root 1067 Mar 25 07:53 mplayerplug-in-qt.xpt
-rwxr-xr-x 1 root root 296016 Mar 25 07:53 mplayerplug-in-rm.so
-rwxr-xr-x 1 root root 1067 Mar 25 07:53 mplayerplug-in-rm.xpt
-rwxr-xr-x 1 root root 296008 Mar 25 07:53 mplayerplug-in.so
-rwxr-xr-x 1 root root 296016 Mar 25 07:53 mplayerplug-in-wmp.so
-rwxr-xr-x 1 root root 1067 Mar 25 07:53 mplayerplug-in-wmp.xpt
-rwxr-xr-x 1 root root 1067 Mar 25 07:53 mplayerplug-in.xpt
lrwxrwxrwx 1 root root 41 Jan 13 12:11 npPicasa3.so → /opt/google/picasa/3.0/lib64/npPicasa3.so
-rwxr-xr-x 1 root root 134648 Apr 19 16:44 npwrapper.libflashplayer.so
-rwxr-xr-x 1 root root 134648 Apr 19 16:44 npwrapper.nppdf.so
-rwxr-xr-x 1 root root 134648 Apr 19 16:44 npwrapper.npPicasa3.so
lrwxrwxrwx 1 root root 51 Apr 19 16:44 npwrapper.so → …/…/lib/nspluginwrapper/x86_64/linux/npwrapper.so
-rw-r–r-- 1 root root 43936 Feb 19 03:43 nsdejavu.so
-rwxr-xr-x 1 root root 48464 Feb 27 05:56 packagekit-plugin.so
-rwxr-xr-x 1 root root 77016 Feb 21 19:22 skypebuttons.so
Here is what /etc/alternatives shows:
spectrum2:/usr/lib64/browser-plugins # ll /etc/alternatives
total 16
lrwxrwxrwx 1 root root 59 Apr 5 13:27 Adobe_AIR_Application_Installer -> /opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer
lrwxrwxrwx 1 root root 62 Apr 5 13:27 AdobeAIR.desktop -> /opt/Adobe AIR/Versions/1.0/Resources/support/AdobeAIR.desktop
lrwxrwxrwx 1 root root 53 Apr 5 13:27 airappinstaller -> /opt/Adobe AIR/Versions/1.0/Resources/airappinstaller
lrwxrwxrwx 1 root root 9 Apr 5 10:52 awk -> /bin/gawk
lrwxrwxrwx 1 root root 29 Apr 5 10:52 awk.1.gz -> /usr/share/man/man1/gawk.1.gz
lrwxrwxrwx 1 root root 45 Apr 24 13:47 ControlPanel -> /usr/lib64/jvm/jre-1.6.0-sun/bin/ControlPanel
lrwxrwxrwx 1 root root 46 Apr 5 13:27 digest.s -> /opt/Adobe AIR/Versions/1.0/Resources/digest.s
lrwxrwxrwx 1 root root 13 Apr 5 10:50 ftp -> /usr/bin/pftp
lrwxrwxrwx 1 root root 29 Apr 5 10:50 ftp.1 -> /usr/share/man/man1/pftp.1.gz
lrwxrwxrwx 1 root root 29 Apr 5 11:17 gst-install-plugins-helper -> /usr/lib/pk-gstreamer-install
lrwxrwxrwx 1 root root 34 Apr 5 11:21 gtk-update-icon-cache -> /usr/bin/gtk-update-icon-cache-2.0
lrwxrwxrwx 1 root root 50 Apr 5 11:21 gtk-update-icon-cache.1.gz -> /usr/share/man/man1/gtk-update-icon-cache-2.0.1.gz
lrwxrwxrwx 1 root root 37 Apr 24 13:47 java -> /usr/lib64/jvm/jre-1.6.0-sun/bin/java
lrwxrwxrwx 1 root root 44 Apr 24 13:47 java.1.gz -> /usr/share/man/man1/java-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 61 Apr 24 13:47 javaplugin -> /usr/lib64/jvm/java-1.6.0-sun-1.6.0/jre/lib/amd64/libnpjp2.so
lrwxrwxrwx 1 root root 39 Apr 24 13:47 javaws -> /usr/lib64/jvm/jre-1.6.0-sun/bin/javaws
lrwxrwxrwx 1 root root 46 Apr 24 13:47 javaws.1.gz -> /usr/share/man/man1/javaws-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 29 Apr 5 10:54 jaxp_parser_impl -> /usr/share/java/xerces-j2.jar
lrwxrwxrwx 1 root root 28 Apr 5 10:58 jaxp_transform_impl -> /usr/share/java/xalan-j2.jar
lrwxrwxrwx 1 root root 66 Apr 24 13:47 jce_1.6.0_sun_local_policy -> /usr/lib64/jvm-private/java-1_6_0-sun/jce/vanilla/local_policy.jar
lrwxrwxrwx 1 root root 70 Apr 24 13:47 jce_1.6.0_sun_us_export_policy -> /usr/lib64/jvm-private/java-1_6_0-sun/jce/vanilla/US_export_policy.jar
lrwxrwxrwx 1 root root 28 Apr 24 13:47 jre -> /usr/lib64/jvm/jre-1.6.0-sun
lrwxrwxrwx 1 root root 28 Apr 24 13:47 jre_1.6.0 -> /usr/lib64/jvm/jre-1.6.0-sun
lrwxrwxrwx 1 root root 36 Apr 24 13:47 jre_1.6.0_exports -> /usr/lib64/jvm-exports/jre-1.6.0-sun
lrwxrwxrwx 1 root root 36 Apr 24 13:47 jre_exports -> /usr/lib64/jvm-exports/jre-1.6.0-sun
lrwxrwxrwx 1 root root 28 Apr 24 13:47 jre_sun -> /usr/lib64/jvm/jre-1.6.0-sun
lrwxrwxrwx 1 root root 36 Apr 24 13:47 jre_sun_exports -> /usr/lib64/jvm-exports/jre-1.6.0-sun
lrwxrwxrwx 1 root root 40 Apr 24 13:47 keytool -> /usr/lib64/jvm/jre-1.6.0-sun/bin/keytool
lrwxrwxrwx 1 root root 47 Apr 24 13:47 keytool.1.gz -> /usr/share/man/man1/keytool-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 18 Apr 5 10:55 ksh -> /lib64/ast/bin/ksh
lrwxrwxrwx 1 root root 30 Apr 5 10:55 ksh.1.gz -> /usr/share/man/man1/ksh93.1.gz
lrwxrwxrwx 1 root root 19 Apr 5 10:54 mount.ntfs -> /sbin/mount.ntfs-3g
lrwxrwxrwx 1 root root 38 Apr 5 10:54 mount.ntfs.8.gz -> /usr/share/man/man8/mount.ntfs-3g.8.gz
lrwxrwxrwx 1 root root 49 Apr 5 10:54 openSUSE-default.xml -> /usr/share/wallpapers/openSUSE-default-static.xml
lrwxrwxrwx 1 root root 37 Apr 24 13:47 orbd -> /usr/lib64/jvm/jre-1.6.0-sun/bin/orbd
lrwxrwxrwx 1 root root 44 Apr 24 13:47 orbd.1.gz -> /usr/share/man/man1/orbd-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 44 Dec 16 04:23 pack200 -> /usr/lib64/jvm/jre-1.6.0-openjdk/bin/pack200
lrwxrwxrwx 1 root root 51 Dec 16 04:23 pack200.1.gz -> /usr/share/man/man1/pack200-java-1.6.0-openjdk.1.gz
lrwxrwxrwx 1 root root 43 Apr 24 13:47 policytool -> /usr/lib64/jvm/jre-1.6.0-sun/bin/policytool
lrwxrwxrwx 1 root root 50 Apr 24 13:47 policytool.1.gz -> /usr/share/man/man1/policytool-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 37 Apr 24 13:47 rmid -> /usr/lib64/jvm/jre-1.6.0-sun/bin/rmid
lrwxrwxrwx 1 root root 44 Apr 24 13:47 rmid.1.gz -> /usr/share/man/man1/rmid-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 44 Apr 24 13:47 rmiregistry -> /usr/lib64/jvm/jre-1.6.0-sun/bin/rmiregistry
lrwxrwxrwx 1 root root 51 Apr 24 13:47 rmiregistry.1.gz -> /usr/share/man/man1/rmiregistry-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 43 Apr 24 13:47 servertool -> /usr/lib64/jvm/jre-1.6.0-sun/bin/servertool
lrwxrwxrwx 1 root root 50 Apr 24 13:47 servertool.1.gz -> /usr/share/man/man1/servertool-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 42 Apr 24 13:47 tnameserv -> /usr/lib64/jvm/jre-1.6.0-sun/bin/tnameserv
lrwxrwxrwx 1 root root 49 Apr 24 13:47 tnameserv.1.gz -> /usr/share/man/man1/tnameserv-java-1_6_0-sun.1.gz
lrwxrwxrwx 1 root root 46 Dec 16 04:23 unpack200 -> /usr/lib64/jvm/jre-1.6.0-openjdk/bin/unpack200
lrwxrwxrwx 1 root root 53 Dec 16 04:23 unpack200.1.gz -> /usr/share/man/man1/unpack200-java-1.6.0-openjdk.1.gz
lrwxrwxrwx 1 root root 9 Apr 5 10:52 usr-bin-awk -> /bin/gawk
lrwxrwxrwx 1 root root 18 Apr 5 10:55 usr-bin-ksh -> /lib64/ast/bin/ksh
lrwxrwxrwx 1 root root 15 Apr 5 10:54 vim -> /bin/vim-normal
lrwxrwxrwx 1 root root 38 Apr 5 10:53 xml-commons-apis -> /usr/share/java/xerces-j2-xml-apis.jar
lrwxrwxrwx 1 root root 34 Apr 5 13:27 xulrunner -> /usr/lib64/xulrunner-2.0/xulrunner
So why isn’t Firefox finding the Java plugin?
By the way, Firefox itself is NOT installed in the usual place - it’s installed in one of my data directories…specifically ‘/LinuxData1/LinuxPrograms2/Browsers/Firefox/firefox/firefox’ My taskbar launch icon goes there, the KDE menu goes “firefox %u”.
Do I have to link something somewhere so Firefox can find the plugin? That used to be the case.