LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Java Plugin on AMD64 (https://www.linuxquestions.org/questions/linux-newbie-8/java-plugin-on-amd64-315688/)

jeffk42 04-21-2005 10:03 AM

Java Plugin on AMD64
 
I'm hoping someone can tell me how I screwed up here...

I downloaded the AMD64 JDK1.5.0_02 package, which it turns out doesn't include the web plugin because it hasn't been released yet. So I downloaded and installed an additional JRE1.5.0_02 for i586, which includes the plugin.

I've tried 'sudo ln -s /usr/java/jre1.5.0_02/plugin/libwhatever.so' in the following directories:

/usr/lib64/mozilla/plugins
/usr/lib/mozilla/plugins
/usr/lib64/firefox-1.0.2/plugins
/usr/lib64/mozilla-1.7.3/plugins
/usr/lib/mozilla-1.7.3/plugins

This hasn't worked in any of these cases. Do I need to use a 32-bit Firefox in order to use this plugin? That would suck.

jeffk42 04-21-2005 10:14 AM

A little more info, I ran mozilla from the command line and tried a Java page. It outputs this error to the terminal:

Code:

LoadPlugin: failed to initialize shared library
/usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so
[/usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so:
cannot open shared object file: No such file or directory]

But it's definitely there.

Harmaa Kettu 04-21-2005 10:54 AM

Run "ldd /usr/java/jre1.5.0_02/plugin/i386/ns7/libjavaplugin_oji.so" to see what is missing.

jeffk42 04-21-2005 11:25 AM

This is what I get from that:

Code:

        linux-gate.so.1 =>  (0xffffe000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x5559b000)
        libdl.so.2 => /lib/libdl.so.2 (0x55662000)
        libc.so.6 => /lib/tls/libc.so.6 (0x55666000)
        /lib/ld-linux.so.2 (0x56555000)


detpenguin 04-21-2005 12:33 PM

i noticed you're doing sudo to link it...i'm not sure you need to...i don't in slack or suse, anyways...plus i link to /usr/lib instead of /usr/java/ like this:



Code:

ln -s /usr/lib/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so /home/jk/firefox-installer/plugins

Harmaa Kettu 04-21-2005 01:07 PM

It seems to be that 64-bit firefox does not support 32-bit plugins. There is a 64-bit java plugin available in blackdown's JRE but it is older version (1.4.2) and not very stable (see this google search).

That error message you got is very strange... "No such file or directory" does not make sense when all required libraries are found. I would have expected "incompatible binary format" or something similar.


All times are GMT -5. The time now is 05:49 PM.