LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2003, 08:58 PM   #1
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Rep: Reputation: 16
Question 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?

Thanks, Randomx
 
Old 12-11-2003, 09:07 PM   #2
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
Go to your home dir and put the link in .mozilla/plugins
 
Old 12-11-2003, 09:37 PM   #3
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
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
 
Old 12-12-2003, 10:40 AM   #4
randomx
Member
 
Registered: Feb 2003
Location: Hawaii
Distribution: Debian
Posts: 130

Original Poster
Rep: Reputation: 16
Smile 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?

Last edited by randomx; 12-12-2003 at 10:49 AM.
 
Old 12-12-2003, 11:09 AM   #5
moosedaddy
Member
 
Registered: Feb 2003
Location: Oklahoma
Distribution: Debian Unstable
Posts: 244

Rep: Reputation: 30
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.
 
Old 12-12-2003, 11:18 AM   #6
pr0gm3r
Member
 
Registered: Nov 2003
Location: CA
Distribution: SuSE 10.2
Posts: 35

Rep: Reputation: 15
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
 
Old 12-12-2003, 11:36 AM   #7
Projekt2
Member
 
Registered: Sep 2003
Location: Naples, Fl
Distribution: Slackware Current
Posts: 34

Rep: Reputation: 15
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

Last edited by Projekt2; 12-12-2003 at 11:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to install java vm plugin for mozilla-firebird rsingh Linux - Newbie 1 01-20-2004 07:33 AM
Mozilla Firebird - Java Plugin nits Linux - Software 11 01-08-2004 12:13 PM
Mozilla Firebird crashes with java plugin. chrisknight Linux - Software 14 11-02-2003 05:16 PM
howto get firebird to open link in mozilla mail instead of mozilla? breadbin Linux - Software 1 09-13-2003 04:46 PM
java plugin for firebird nocturnal Linux - Software 3 08-10-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration