Hi misc@
I run a less than one week old -current, together with JDK 1.6 (built
from ports) and Firefox 3.6.3. As the subject states, Firefox does not
detect the Java plugin found in JDK.
$ pkg_info | grep -e firefox -e jdk
jdk-1.5.0.16p2 Java2(TM) Standard Edition Dev Kit v1.5.0.16
jdk-1.6.0.03p9 Java2(TM) Standard Edition Dev Kit v1.6.0.03
mozilla-firefox-3.6.3p2 redesign of Mozilla's browser component
The build of JDK 1.6 depended on 1.5, which is why the latter is
installed. I have tried symlinks to the plugin in four different
locations, one at a time, without success: ~/.mozilla/plugins,
/usr/local/lib/mozilla/plugins, /usr/local/mozilla-firefox/plugins, and
/usr/local/lib/mozilla-plugins/. The former three are mentioned in
/usr/local/mozilla-firefox/README.OpenBSD and the latter is mentioned in
the install message for JDK.
The plugin exists:
$ pwd
/usr/local/jdk-1.6.0/jre/plugin/i386/ns7
$ ls -l libjavaplugin_oji.so
-rwxr-xr-x 1 root bin 266285 Jun 29 13:41 libjavaplugin_oji.so
A symlink example:
$ pwd
/home/mt/.mozilla/plugins
$ ls -l libjavaplugin_oji.so
lrwxr-xr-x 1 mt users 61 Jun 30 18:58 libjavaplugin_oji.so ->
/usr/local/jdk-1.6.0/jre/plugin/i386/ns7/libjavaplugin_oji.so
The about:plugins page in Firefox keeps claiming that no plugins are
installed. I have tried loading a website with a Java applet, and it is
true that Java-support is not enabled.
Additionally, I have tried starting Firefox with a fresh profile, I have
tried the plugin from JDK 1.5, and I have tried changing the
java.default_java_location_{others,solaris} keys in about:config. None
of the attempts helped. I tried /usr/local/jdk-1.6.0 and
/usr/local/jdk-1.6.0/jre for the keys' value.
Can anyone spot whether I am doing something wrong?
Thanks!
Martin