LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-31-2003, 09:13 AM   #1
chlee
LQ Newbie
 
Registered: Jun 2002
Location: melbourne, australia
Distribution: slackware 9.0
Posts: 29

Rep: Reputation: 15
java plugin for mozilla


so i dowloaded java2sdk 1.4.1_02
and i arleady have mozilla 1.3

i installed java fine and everythign and
i linked
the jre/plugin/i386/ns610/libjavaplugin_oji.so to my mozilla plugins dir
but when i start mozilla i get htis error


LoadPlugin: failed to initialize shared library /usr/share/j2sdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so [/usr/share/j2sdk1.4.1_02/jre/plugin/i386/ns610/libjavaplugin_oji.so: undefined symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]

im using slackware..
hmm i dont relaly know what the problem is here heh
 
Old 04-01-2003, 10:15 AM   #2
moinefou
LQ Newbie
 
Registered: Mar 2003
Location: Strasbourg, France
Distribution: Debian GNU/Linux
Posts: 27

Rep: Reputation: 15
Try to link javaplugin.so instead of javaplugin_oji.so, it made Mozilla to see the plugin for me...
 
Old 04-01-2003, 12:10 PM   #3
nakkaya
LQ Guru
 
Registered: Jan 2003
Location: Turkey&USA
Distribution: Emacs and linux is its device driver(Slackware,redhat)
Posts: 1,398

Rep: Reputation: 45
1)

* Create a download directory:
*

mkdir $HOME/archive

2)

* Download J2SE 1.4.1 sdk RPM to your archive directory. Get the SDK here.
* The file is called: j2sdk-1_4_1_01-linux-i586-rpm.bin
* This script is not executable, therefore type:
*

chmod a+x j2sdk-1_4_1_01-linux-i586-rpm.bin

*

./j2sdk-1_4_1_01-linux-i586-rpm.bin

* Than agree to the licensing terms.

3)

* Note that your archive directory now contains a new file called: j2sdk-1_4_1_01-fcs-linux-i586.rpm
* Install the SDK. Type: su (and enter super user password).
*

rpm -ivh j2sdk-1_4_1_01-fcs-linux-i586.rpm

* The SDK is now installed however there are still a few configuration tasks.
* This is where most people have trouble.

4)

* Linking the plugin to Mozilla and Galeon (Galeon uses Mozilla plugins).
* We should still be in super user mode. If not than become super user again: su (password).
*

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

* Now your browers (Mozilla and Galeon) will display Java2 1.4.1 websites.
* Exit as super user. Type: exit

5)

* Configuring the executable PATH.
* In regular user mode.
*

emacs $HOME/.bash_profile

* At the very bottom of the file add the line:
*

export PATH=/usr/java/j2sdk1.4.1_01/bin:$PATH

* Exit emacs by holding down Ctrl and pressing x than s than x than c.
*

Ctrl - x - s - x - c

* Now log out and log back in, so that the settings to take effect.

6)

* Test the configuration of the executable PATH. Simply type:
*

javac

* You should see a list of the java compiler command switches.
* Find a tutorial or book and write some Java2 programs.
* If you have problems you can mail

* Note: If you have a backup file (ls -al $HOME) called .bash_profile~ in addition
* to your new .bash_profile (without the ~), than delete the backup (rm ./.bash_profile~)
* Than try loging back in and everything should work. For some reason the backup file
* overrides the new script.

http://members.shaw.ca/trollking/linux.html
 
Old 04-07-2003, 04:36 AM   #4
myst
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
i figure you're using a distro compiled with gcc 3.x... so you need a JVM compiled with Gcc 3.x (the one on SUN site is not) just download the right version from blackdown.org

here is a direct link

ftp://sunsite.dk/mirrors/java-linux/...586-gcc3.2.bin
 
Old 04-07-2003, 06:24 AM   #5
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
I found that with Mozilla 1.3 there was no need to create a symbolic link, because it was taken care of automatically.
 
  


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
Java plugin for Mozilla 1.7.6 Bariana Linux - Newbie 1 08-23-2005 10:37 AM
Mozilla java plugin no go kills Mozilla skinpainting Red Hat 13 11-30-2003 12:30 PM
Java plugin for mozilla amir_h Fedora 4 11-19-2003 02:36 AM
Java Plugin in Mozilla 1.2.1 opasch Linux - General 7 08-13-2003 02:46 AM
mozilla 1.4 java-vm plugin Quis Linux - Software 5 06-12-2003 05:54 AM


All times are GMT -5. The time now is 01:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration