1 |
On Sat, May 9, 2009 at 1:35 PM, Drake Donahue <donahue95@×××××××.net> wrote: |
2 |
> On Sat, 2009-05-09 at 14:59 +0200, Beso wrote: |
3 |
>> 2009/5/9 Daiajo Tibdixious <daiajo@×××××.com> |
4 |
>> # eselect java-nsplugin list |
5 |
>> Available 32-bit Java browser plugins |
6 |
>> [1] emul-linux-x86-java-1.6 current |
7 |
>> [2] emul-linux-x86-java-1.6-plugin2 |
8 |
>> Available 64-bit Java browser plugins |
9 |
>> [1] sun-jdk-1.6 |
10 |
>> |
11 |
>> I have blackdown java installed but it does not show up in |
12 |
>> eselect. Why is that? |
13 |
>> |
14 |
>> When I start firefox-bin & goto about:plugins it says "no |
15 |
>> plugins |
16 |
>> installed", despite this symlink: |
17 |
>> /usr/lib32/nsbrowser/plugins/javaplugin.so -> |
18 |
>> /usr/share/java-config-2/nsplugin/emul-linux-x86-java-1.6-javaplugin.so |
19 |
>> |
20 |
>> When I use 64 bit firefox with the sun jdk it comes up and |
21 |
>> 'sort of' |
22 |
>> works, sort of doesn't. In general |
23 |
>> I hate it because its flaky, & consistently fails on 1 big |
24 |
>> applet. |
25 |
>> |
26 |
>> I was previously using the blackdown plugin, however if I |
27 |
>> manually |
28 |
>> create the symlink, firefox will not start up, it Segmentation |
29 |
>> fault's. This is the symlink I setup: |
30 |
>> /usr/lib64/nsbrowser/plugins/javaplugin.so -> |
31 |
>> /opt/blackdown-jre-1.4.2.03/plugin/amd64/mozilla/libjavaplugin_oji.so |
32 |
>> I also tried pointing it to |
33 |
>> /opt/blackdown-jre-1.4.2.03/lib/amd64/libjavaplugin_jni.so |
34 |
>> which also causes a Segmentation fault. |
35 |
>> |
36 |
>> I dont care whether I use 32 or 64 bit firefox, I just want |
37 |
>> java to |
38 |
>> work reliably. |
39 |
>> |
40 |
>> Googling, a lot of people are getting Segmentation faults, |
41 |
>> with the |
42 |
>> suggestion "use blackdown". However even mozilla's plugin page |
43 |
>> does |
44 |
>> not give the symlinks to use. |
45 |
>> |
46 |
>> This page http://fedora64.org/desktop-64-posts/java-x86_64/ |
47 |
>> says to make the source libjavaplugin_oji.so |
48 |
>> If I use that or javaplugin_oji.so firefox starts but |
49 |
>> about:plugins |
50 |
>> shows no plugins installed. |
51 |
>> |
52 |
>> My googling isn't turning up much helpful, I suspect I just |
53 |
>> don't know |
54 |
>> enough to provide good keywords. |
55 |
>> |
56 |
>> |
57 |
>> drop the blackdown java and use the official 1.6 release. the latest |
58 |
>> one provides 32 and 64 bit plugins. the blackdown java is really a bad |
59 |
>> piece of code now. |
60 |
>> |
61 |
>> -- |
62 |
>> dott. ing. beso |
63 |
> |
64 |
> java-config not eselect with java |
65 |
|
66 |
I java-config bacl top the sun one: |
67 |
The following VMs are avilable for generation-2: |
68 |
1) Blackdown JRE 1.4.2.03 (blackown-jre-1.4.2) |
69 |
2) Sun 32bit JRE 1.6.0.13 (emul-linux-x86-java-1.6) |
70 |
*) Sun JRE 1.6.0.13 (sun-jdk-1.6) |
71 |
|
72 |
Started firefox & about:plugins shows no plugins. |
73 |
So I also did eslect java-nsplugin: |
74 |
: |
75 |
Avialble 64-bit Java browser plugins |
76 |
[1] sun-jdk-1.6 current |
77 |
|
78 |
Started firefox & no plugins. |
79 |
I traced the symbolic links & manually set it to |
80 |
/opt/sun-jdk-1.6.0.13/jre/lib/amd64/libnpjp2.so |
81 |
which also did not work. |
82 |
|
83 |
This is all really weird because I had it working with sun-jdk earlier. |
84 |
|
85 |
I also found /opt/firefox/plugins was point to |
86 |
/usr/lib32/nsbrowser/plugins. I repointed this to lib64 & got this |
87 |
error: |
88 |
LoadPlugin: failed to initialize shared library |
89 |
/opt/sun-jdk-1.6.0.13/jre/lib/amd64/libnpjp2.so [...: wrong ELF class: |
90 |
ELFCLASS64 |
91 |
from firefox-bin (which I'm using for mail so I can start/stop firefox |
92 |
at will. I suspect that /opt/firefox/plugins is just for firefox-bin. |