LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   link java plugin to mozilla-firebird 0.7 (https://www.linuxquestions.org/questions/linux-software-2/link-java-plugin-to-mozilla-firebird-0-7-a-125089/)

randomx 12-11-2003 08:58 PM

link java plugin to mozilla-firebird 0.7
 
kernel: 2.4.22
distro: redhat 9.0

Hi, How do I link the Java plugin to my browser mozilla-firebird 0.7?

The old trick of creating a symbolic link from the mozilla plugin directory to the Java module doesn't work for mozilla-firebird:

This is what you do for mozilla that comes with RedHat 9.0
Code:


ln -s /usr/local/j2sdk1.4.1_01/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/

But how do you do it for mozilla-firebird? :confused:

Thanks, Randomx

2Gnu 12-11-2003 09:07 PM

Go to your home dir and put the link in .mozilla/plugins

Doomhammer 12-11-2003 09:37 PM

Is it me or your sym link is linked to nothing?

ln -s /usr/local/j2sdk1.4.1_01/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/ libjavaplugin_oji.so

randomx 12-12-2003 10:40 AM

It's you bro
 
Quote:

Originally posted by Doomhammer
Is it me or your sym link is linked to nothing?

ln -s /usr/local/j2sdk1.4.1_01/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/lib/mozilla/plugins/ libjavaplugin_oji.so

mmhhh...it's you bro. The link goes from the *.so module to your /usr/lib/mozilla/plugins --assuming you have java installed of course.

As I said before, that's the trick you do for mozilla.

my question is for MOZILLA-FIREBIRD.

Also, by creating ~/.mozilla/plugins will only work for Mozilla, NOT mozilla-firebird.

I tried by modifying the above sym link to /usr/lib/mozilla-firebird/plugins of course.


So...
How do I link java modules to MOZILLA-FIREBIRD?

moosedaddy 12-12-2003 11:09 AM

I think you may need a newer version of java, Firebird recomends 1.4.2_03

The code for Mozilla Firebird should be

ln -s /usr/local/j2sdk1.4.2_03/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/lib/MozillaFirebird/plugins/libjavaplugin_oji.so
You may need to make adjustments for the exact version of Firebird and java along with the paths.

Check the plugins link in MozillaFirebird for further directions.

pr0gm3r 12-12-2003 11:18 AM

use this if you don't have GCC-3.2 install
ln -s [java sdk location]/j2sdk1.4.2_01/jre/plugin/i386/ns610/libjavaplugin_oji.so [location of your MozillaFirebird]/plugins/libjavaplugin_oji.so

or

Use
ln -s [java sdk location]/j2sdk1.4.2_01/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so [location of your MozillaFirebird]/plugins/libjavaplugin_oji.so

Projekt2 12-12-2003 11:36 AM

The following was taken directly form here



On Linux, Mozilla requires JRE 1.4.2 or later.

Mozilla 1.4 and later, and Mozilla Firebird, are compiled with gcc 3.2.3. A gcc 3.x 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_02 RPM, this plugin is /usr/java/j2re1.4.2_02/plugin/i386/ns610-gcc32/libjavaplugin_oji.so - and to install it for Mozilla (including Mozilla Firebird), do the following:

* Open a terminal
* Change to your Mozilla (or Mozilla Firebird) plugins directory
* Issue the following command: ln -s /usr/java/j2re1.4.2_02/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 Mozilla (1.4a or later) or Mozilla Firebird, 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.





These guys can hook you up a gcc 3.x compatible version of the Java


All times are GMT -5. The time now is 06:21 AM.