On Sat, May 9, 2009 at 1:35 PM, Drake Donahue <donahu...@comcast.net> wrote: > On Sat, 2009-05-09 at 14:59 +0200, Beso wrote: >> 2009/5/9 Daiajo Tibdixious <dai...@gmail.com> >> # eselect java-nsplugin list >> Available 32-bit Java browser plugins >> [1] emul-linux-x86-java-1.6 current >> [2] emul-linux-x86-java-1.6-plugin2 >> Available 64-bit Java browser plugins >> [1] sun-jdk-1.6 >> >> I have blackdown java installed but it does not show up in >> eselect. Why is that? >> >> When I start firefox-bin & goto about:plugins it says "no >> plugins >> installed", despite this symlink: >> /usr/lib32/nsbrowser/plugins/javaplugin.so -> >> >> /usr/share/java-config-2/nsplugin/emul-linux-x86-java-1.6-javaplugin.so >> >> When I use 64 bit firefox with the sun jdk it comes up and >> 'sort of' >> works, sort of doesn't. In general >> I hate it because its flaky, & consistently fails on 1 big >> applet. >> >> I was previously using the blackdown plugin, however if I >> manually >> create the symlink, firefox will not start up, it Segmentation >> fault's. This is the symlink I setup: >> /usr/lib64/nsbrowser/plugins/javaplugin.so -> >> /opt/blackdown-jre-1.4.2.03/plugin/amd64/mozilla/libjavaplugin_oji.so >> I also tried pointing it to >> /opt/blackdown-jre-1.4.2.03/lib/amd64/libjavaplugin_jni.so >> which also causes a Segmentation fault. >> >> I dont care whether I use 32 or 64 bit firefox, I just want >> java to >> work reliably. >> >> Googling, a lot of people are getting Segmentation faults, >> with the >> suggestion "use blackdown". However even mozilla's plugin page >> does >> not give the symlinks to use. >> >> This page http://fedora64.org/desktop-64-posts/java-x86_64/ >> says to make the source libjavaplugin_oji.so >> If I use that or javaplugin_oji.so firefox starts but >> about:plugins >> shows no plugins installed. >> >> My googling isn't turning up much helpful, I suspect I just >> don't know >> enough to provide good keywords. >> >> >> drop the blackdown java and use the official 1.6 release. the latest >> one provides 32 and 64 bit plugins. the blackdown java is really a bad >> piece of code now. >> >> -- >> dott. ing. beso > > java-config not eselect with java
I java-config bacl top the sun one: The following VMs are avilable for generation-2: 1) Blackdown JRE 1.4.2.03 (blackown-jre-1.4.2) 2) Sun 32bit JRE 1.6.0.13 (emul-linux-x86-java-1.6) *) Sun JRE 1.6.0.13 (sun-jdk-1.6) Started firefox & about:plugins shows no plugins. So I also did eslect java-nsplugin: : Avialble 64-bit Java browser plugins [1] sun-jdk-1.6 current Started firefox & no plugins. I traced the symbolic links & manually set it to /opt/sun-jdk-1.6.0.13/jre/lib/amd64/libnpjp2.so which also did not work. This is all really weird because I had it working with sun-jdk earlier. I also found /opt/firefox/plugins was point to /usr/lib32/nsbrowser/plugins. I repointed this to lib64 & got this error: LoadPlugin: failed to initialize shared library /opt/sun-jdk-1.6.0.13/jre/lib/amd64/libnpjp2.so [...: wrong ELF class: ELFCLASS64 from firefox-bin (which I'm using for mail so I can start/stop firefox at will. I suspect that /opt/firefox/plugins is just for firefox-bin.