LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   java plugin (https://www.linuxquestions.org/questions/linux-software-2/java-plugin-97294/)

nits 09-26-2003 06:25 PM

java plugin
 
I have a problem with creating symbolic links for java plugins to browsers. I have done this to both opera and mozilla-firebird. What happens is that each time I open(try to) a web page that requires java support, the browsers just shut down.
Does anyone have any idea why this happens?
If I remove the plugins, the web-page would request for java support. On adding the plugin however it would crash!

pilotgi 09-26-2003 07:17 PM

Sounds like you may be linking to the wrong plugin. In my /usr/java/j2re1.4/plugin/i386, I have three different choices:

ns4

ns610

ns610-gcc32

The one that works for me is -gcc32, but you might need to try each one as a troubleshooting method.

HTH

eflester 10-08-2003 10:54 PM

By now maybe you've found the answer, but just in case, here's the little memo I wrote myself after needing to install jre on firebird about 5 times:

Download the rpm and install it. It landed in /usr/java.

Firebird lives in /usr/local/firebird on this machine.

The link has to be made in the plugins folder under firebird.

Below, I go to the /usr/local/firebird/plugins directory first, and get the exact name of the libjavaplugins that exist in /usr/java with the “find” command:
root@tooty plugins]# find /usr/java -name "libjavaplugin*"
/usr/java/j2re1.4.2_01/lib/i386/libjavaplugin_jni.so
/usr/java/j2re1.4.2_01/plugin/i386/ns4/libjavaplugin.so
/usr/java/j2re1.4.2_01/plugin/i386/ns610/libjavaplugin_oji.so
/usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

I know from past experience (and a document I can't find right now) that I need the nx610-gcc32 version of the plugin. This command makes the link. The period at the end of the command is important.

[root@tooty plugins]# ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .


[root@tooty plugins]# ls
libjavaplugin_oji.so libnullplugin.so
[root@tooty plugins]#


I hope this helps!


All times are GMT -5. The time now is 04:07 AM.