I've got: [ebuild Rf ] dev-java/ibm-jdk-bin-1.5.0.2 USE="X -javacomm nsplugin" 0 kB [ebuild R ] www-client/mozilla-firefox-1.5.0.6 USE="-debug gnome -ipv6 -java -mozdevelop -xinerama -xprint" LINGUAS="-ar -ca -cs -da de -el -en_GB -es -es_AR -es_ES -fi -fr -ga -ga_IE -he -hu -it -ja -ko -mk -nb -nb_NO -nl -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 0 kB [ebuild R ] www-client/mozilla-launcher-1.52-r1 USE="-aoss" 0 kB I created a new/blank profile in Firefox and loaded the page about:plugins (see URL or to-be attached file) to see, what plugins are available. There's no plugin for Java. alexander@blatt ~/tmp/about: $ emerge --info Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-suspend2-r6.044.no-kernel-alsa i686) ================================================================= System uname: 2.6.17-suspend2-r6.044.no-kernel-alsa i686 Intel(R) Celeron(R) M processor 1.50GHz Gentoo Base System version 1.12.4 Last Sync: Thu, 14 Sep 2006 19:50:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -mtune=pentium-m -pipe -fomit-frame-pointer" DISTDIR="/Gentoo/Portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache collision-protect distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS=" http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.gentoo.org/ " LANG="de_DE.UTF-8" LINGUAS="de" PKGDIR="/Gentoo/Portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/Gentoo/Portage/build" PORTDIR="/Gentoo/Portage/tree" PORTDIR_OVERLAY="/Gentoo/Portage/local-tree/misc" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 alsa berkdb bitmap-fonts cli crypt dlloader dri elibc_glibc esd fortran gdbm gnome gstreamer hal input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog kdeenablefinal kdehiddenvisibility kernel_linux libedit libg++ linguas_de ncurses nls nptl nptlonly pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_vesa video_cards_vga video_cards_via xorg zlib" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 97004 [details] about:plugins
Browser plugins are now controlled by "eselect java-nsplugin". Is the IBM one listed?
alexander@blatt ~/tmp/about: $ eselect java-nsplugin list Available Java browser plugins [1] ibm-jdk-bin-1.5 current alexander@blatt ~/tmp/about: $ eselect java-nsplugin show Current Java browser plugin ibm-jdk-bin-1.5 I didn't know about this and haven't set anything.
OK, I guess this can be closed. ;)
Why? Please don't be so "close happy"! :(
(In reply to comment #5) > Why? > > Please don't be so "close happy"! :( So, if you don't set any plugin, you won't have any plugin. Where's the bug?
(In reply to comment #6) > (In reply to comment #5) > > Why? > > > > Please don't be so "close happy"! :( > > So, if you don't set any plugin, you won't have any plugin. Where's the bug? What are you talking about? alexander@blatt ~/tmp/about: $ eselect java-nsplugin list Available Java browser plugins [1] ibm-jdk-bin-1.5 current alexander@blatt ~/tmp/about: $ eselect java-nsplugin show Current Java browser plugin ibm-jdk-bin-1.5 See the output of "list"? IBM JDK is set as "current" and "show" returns the ibm-jdk. Is that not good enough? If so, then please add the people responsible for "eselect java-nsplugin" to this bug, as the output is completely not understandble right now.
Yes your plugin seems to be set correctly. Can you verify it has no broken symlinks? Should look like this: # ls -la /usr/lib/nsbrowser/plugins/javaplugin.so lrwxrwxrwx 1 root root 63 2006-09-14 23:09 /usr/lib/nsbrowser/plugins/javaplugin.so -> /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so # ls -la /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so lrwxrwxrwx 1 root root 57 2006-07-27 15:39 /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so -> /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so Anyway I just tested ibm's plugin and it loads fine here (although I have firefox 2.0beta, not 1.5.0.6). If you run firefox from console, maybe it gives you some useful error output?
Links look fine: alexander@blatt ~/tmp/about: $ ls -la /usr/lib/nsbrowser/plugins/javaplugin.so /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so -rwxr-xr-x 1 root root 99788 14. Sep 22:46 /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so lrwxrwxrwx 1 root root 63 10. Sep 12:23 /usr/lib/nsbrowser/plugins/javaplugin.so -> /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so lrwxrwxrwx 1 root root 57 14. Sep 22:46 /usr/share/java-config-2/nsplugin/ibm-jdk-bin-1.5-javaplugin.so -> /opt/ibm-jdk-bin-1.5.0.2/jre/bin/libjavaplugin_ojigtk2.so On the console, I get: libgtk-1.2.so.0: cannot open shared object file: No such file or directoryalexanalexander@blatt ~ $ LC_ALL=C firefox -ProfileManager GetBoundingMetrics (char *) GetBoundingMetrics (char *) GetBoundingMetrics (char *) GetBoundingMetrics (char *) libgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorysh: acroread: command not found libgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directorylibgtk-1.2.so.0: cannot open shared object file: No such file or directory I don't know why I've got all those "libgtk-1.2.so.0:" messages.
I had Firefox 1.5.0.6 built with USE=-java. Now I'm at 1.5.0.7 and set the java USE flag. Ie. it's now built with: [ebuild R ] www-client/mozilla-firefox-1.5.0.7 USE="-debug gnome -ipv6 java -mozdevelop -xinerama -xprint" LINGUAS="-ar -bg -ca -cs -da de -el -en_GB -es -es_AR -es_ES -eu -fi -fr -ga -ga_IE -gu_IN -he -hu -it -ja -ko -lt -mk -nb -nb_NO -nl -pa_IN -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 0 kB But this didn't change anything. I still don't have a Java plugin.
With dev-java/sun-jdk-1.5.0.08, I don't have this problem; ie. after sudo eselect java-nsplugin set 2 (2 = sun-jdk-1.5), I've got a Java plugin. When I start firefox with java-nsplugin set to IBM JDK, I get: libgtk-1.2.so.0: Kann die Shared-Object-Datei nicht
With dev-java/sun-jdk-1.5.0.08, I don't have this problem; ie. after sudo eselect java-nsplugin set 2 (2 = sun-jdk-1.5), I've got a Java plugin. When I start firefox with java-nsplugin set to IBM JDK, I get: libgtk-1.2.so.0: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden (Ie. it cannot find libgtk-1.2.so.0.) I do not get this message when I set the java-nsplugin to sun-jdk-1.5. Vlastimil, do you have libgtk-1.2.so.0 installed? I do not.
I've now installed x11-libs/gtk+-1.2.10-r11 and after that, switched to ibm-jdk as the nsplugin. After that, about:plugins shows: IBM Java(TM) Plug-in: J2RE 1.5.0 IBM build jclxi32dev-20060511a So, the bug is, that IBM JDK doesn't depend on x11-libs/gtk+-1.2.10
(In reply to comment #12) > I've now installed x11-libs/gtk+-1.2.10-r11 and after that, switched to ibm-jdk > as the nsplugin. After that, about:plugins shows: > > IBM Java(TM) Plug-in: J2RE 1.5.0 IBM build jclxi32dev-20060511a > > So, the bug is, that IBM JDK doesn't depend on x11-libs/gtk+-1.2.10 > You are right. I am fixing the depends as we speak.
The dependencies have been adjusted to require gtk+-1* on 1.4 and gtk+-2* on 1.5.
(In reply to comment #14) > The dependencies have been adjusted to require gtk+-1* on 1.4 and gtk+-2* on > 1.5. > Hm? JDK 1.5 also requires gtk+-1*! That's what this bug is about :) I did not have gtk+-1* installed, and because of this, I was not able to use the nsplugin. If I don't misunderstand what you wrote, dev-java/ibm-jdk-bin-1.5.0.2 will now require gtk+-2*. Is that right? If so, then that's not sufficient. Because of this, I'm reopening this bug. Close it, if I misunderstood you.
In the ebuild, I find: nsplugin? ( x86? ( =x11-libs/gtk+-2* ) ppc? ( =x11-libs/gtk+-1* ) )" That's not good. Also on x86 when nsplugin is set, it should depend on x11-libs/gtk+-1*.
(In reply to comment #16) > In the ebuild, I find: > > That's not good. Also on x86 when nsplugin is set, it should depend on > x11-libs/gtk+-1*. > So it seems. Never trust the documentation :) file:///usr/share/doc/ibm-jdk-bin-1.5.0.2/html/docs/en/sdkandruntimeguide.lnx.en.htm Now it depends on both gtk-1 and gtk-2.