LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox java plugin (suse 9.1) (https://www.linuxquestions.org/questions/linux-software-2/firefox-java-plugin-suse-9-1-a-249875/)

NoS Sr50 11-01-2004 11:57 AM

Firefox java plugin (suse 9.1)
 
Where do I get a java plugin for my firefox?
java seems to work fine in konquerer...

detpenguin 11-01-2004 01:11 PM

it's already installed, actually....you just need to make a link to it in your firefox/plugins folder.

from the firefox FAQ page:

Linux

On Linux, Firefox requires JRE 1.4.2 or later.

Firefox is compiled with gcc 3.2.3, so a compatible version of the Java plugin must be used. JRE 1.4.2 contains a compatible plugin.

If you installed the JRE 1.4.2_01 RPM, this plugin is /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so and to install it for Firefox, do the following:

* Open a terminal
* Change to your Firefox plugins directory
* Issue the following command: ln -s /usr/java/j2re1.4.2_01/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

If you are using an older Linux distribution, you may need to install the gcc3 support libraries, as the gcc 3.2 version of the Java plugin requires libgcc_s.so.1 to operate. You may be able to find packages using Google.

If you are using an old or unofficial build of Firefox, you can check which compiler was used by entering about:buildconfig in the location bar and pressing enter. You will see a line such as "gcc version 3.3 20030226 (prerelease) (SuSE Linux)", which will show the compiler that was used. If gcc2.9x was used, you need to use the ns610 plugin, not the ns610-gcc32 plugin.

NanoFxJ 11-14-2004 06:14 PM

I can't figure out why it did this
Code:

[root@localhost plugins]# ln -s/usr/java/jdk1.5.0/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
ln: invalid option -- /
Try `ln --help' for more information.

I typed excatcly like your format

neonide 11-14-2004 09:19 PM

I'm sure you've figured this out by now, but if not,

YOU NEED A SPACE after the ls -s

like this: ln -s /usr/java/jdk1.5.0/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

NanoFxJ 11-14-2004 11:25 PM

ok i'll try it

NanoFxJ 11-15-2004 12:20 AM

this is what I did in my root terminal
Code:

cd /usr/lib/firefox-installer/plugins
ln -s /usr/java/jdk1.5.0/jre/plugin/i386/ns7-gcc29/libjavaplugin_oji.so

then in my /usr/lib/firefox-installer/plugins, there's a new file created called libjavaplugin_oji.so
-------------------------------------------------------------------------------
now, i can't open my firefox browswer, it display nothing after I clicked it, and it works if I delete that file, still can't get the java plugin to work...........

NanoFxJ 11-15-2004 06:18 PM

does anybody know why?

winsnomore 11-15-2004 10:04 PM

The file you selected is not the right one ..
The instructions coming from sun are a bit faulty at best
JRE 1.4 doesn't have ns7-gcc32 folder .. if I remember correctly it has ns7-gcc-29 !!

Select the "other directory" under the i386 (not the ns7-gcc29 ). but use ..../i386/ns7
My suggestions is to use jdk1.5/...../i386/...ns7 .. not the -gccxxx folder

Here is step by step .. go to your plugins directory under firefox and delete the link you created.

Make the link to the "other" directory/file as I listed above.

Double check what you type . the symbolic link would show up EVEN if it's not pointing to anything.

If the link is bad, firefox comes up .. just won't support JAVA .. if the libaray you are linking with has the "wrong" format
then firefox hangs.

hope this helps

NanoFxJ 11-16-2004 08:03 AM

Finaaly got it to working, thanks :)


All times are GMT -5. The time now is 02:05 AM.