LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-09-2003, 09:48 AM   #1
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Rep: Reputation: 0
java plug-in problem


Hi, I have a problem installing the java plug-in for Mozilla 1.4. I use version j2re-1.4.1_02. My OS is RedHat8. I've created a symbolic link like this:

ln -s /usr/java/j2re1.4.1_02/plugin/i386/ns610/libjavaplugin_oji.so usr/local/mozilla/plugins/libjavaplugin_oji.so

But when I check in the browser's About plug-in page there is nothing about java?!? Please tell me what to do.
 
Old 07-09-2003, 10:00 AM   #2
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
is that 'ln' command verbatim? if it is you're missing the leading slash on /usr/local/mozilla (doubt that's the problem tho).

try starting mozilla from the command line. The plugin might be issuing errors (ie not starting properly, thus it won't be listed). If you start mozilla from the command line you will be able to see any outputted error messages the plugin may issue.
 
Old 07-09-2003, 10:53 AM   #3
jkp
LQ Newbie
 
Registered: Jan 2003
Location: El dorado Hills CA.
Distribution: redhat 9.0
Posts: 10

Rep: Reputation: 0
Java

Justs a thought the new version for the plug-in is 1.4.1_03
 
Old 07-10-2003, 03:04 AM   #4
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
now I've dowlnoaded the 1.4.1_03 version of this plug-in. I've installed it just like the old one, created the symbolic link and still it doesn't work. Now I've started the Mozilla in command line and it displayed this error:

LoadPlugin: failed to initialize shared library /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so [/usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so: undefined symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]

I have no idea what's this?!?! pls help
 
Old 07-10-2003, 03:09 AM   #5
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Is there a folder in the plugins directory ns610-gcc32?

If so try using the plugin in that one.

That would be in 1.4.2 though

Last edited by Looking_Lost; 07-10-2003 at 03:11 AM.
 
Old 07-10-2003, 03:26 AM   #6
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
there is no such directory. where can I downoad the files from it????
 
Old 07-10-2003, 03:52 AM   #7
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Well I use the sdk which includes the runtime environment, I'm assuming the standalone runtime environment is the same. Version 1.4.2 is out now far sun java.
Download that one.

Just my personal preference but when I make the link I cd to the actual plugin directory and make the link their incase I make a mistake with two lots of paths...just my personal preference and irrelevant I know.
 
Old 07-10-2003, 05:16 AM   #8
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
I'm now installing j2sdk_1_4_1_02 couse my connection to the site of java is too slow and I couldn't download it from there. So can you tell me if there is something special that I must to do in order to have java plug-in installed?
 
Old 07-10-2003, 05:31 AM   #9
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Basically what you where doing before, only difference I do is changed to the mozilla plugin directory and

ln -s <complete path to the plugin in>

Now your getting the sdk the path will be slightly different, the runtime environmnet "jre" with plugins etc will be in the j2sdk1_4_1_02 directory.

I mentioned the 1.4.2 gcc thing cos I'm sure I read somewhere to use that with the latest mozilla because of how it's been compiled, someone might be able to elaborate/dispell this, if it works though it works.


You can learn to program in Java now once you've got it download if it takes your fancy although that's not your aim at the moment.
 
Old 07-10-2003, 06:31 AM   #10
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
I've run the sdk rpm file and nothing happens. I can't find where it is installed . I even don't know is it installed at all?!?! I'm so confused, why the JRE don't work??? I've done everything correct and what is the

LoadPlugin: failed to initialize shared library /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so [/usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so: undefined symbol: GetGlobalServiceManager__16nsServiceManagerPP17nsIServiceManager]

all about??? Why failed to initialize??? I've checked everything and it seems to be correct
 
Old 07-10-2003, 08:29 AM   #11
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
cd to /usr/java/j2re1.4.1_03/plugin/i386/ns610 and type the following command:

'ldd libjavaplugin_oji.so'

it looks to me like the libjavaplugin_oji.so is linked to other libraries that it is not finding right now. By executing ldd on the libjavaplugin it will tell you what other libraries libjavaplugin is tied to. Perhaps this will help to shed some light on things.
 
Old 07-10-2003, 09:16 AM   #12
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
This is the result:

[root@localhost plugins]# ldd libjavaplugin_oji.so
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40043000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40096000)
libdl.so.2 => /lib/libdl.so.2 (0x40174000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40177000)
libm.so.6 => /lib/i686/libm.so.6 (0x401b9000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x401db000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x401e5000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

I don't understand a thing in this lines
 
Old 07-10-2003, 10:24 AM   #13
Bolivar
LQ Newbie
 
Registered: Mar 2003
Posts: 24

Rep: Reputation: 15
Guster,

I've always had problems with Sun's Java and *nix. What has always worked for me is using Blackdowns version of Java.
http://www.blackdown.org
you will extract it, run the install and then the sym link like you have been doing. Only difference is, Blackdown has always worked.
Hope it works for you.
 
Old 07-10-2003, 10:36 AM   #14
guster
LQ Newbie
 
Registered: Jul 2003
Posts: 14

Original Poster
Rep: Reputation: 0
10x for the advise, I'll try it, hope that it'll work, cos I'm so pissed off always hated NS and mozilla
 
Old 07-10-2003, 09:29 PM   #15
jpbarto
Senior Member
 
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
guster I just tried the link myself. I'm running an LFS system. I start mozilla and the java plugin does not complain. However then when I go to a java website (such as javaarcade.com) the web browser crashes. Note: after executing the ln to install the plugin the plugin would not start saying it couldn't find libstdc++-libc6.2-2.so.2 (or something close to that).

I found libstdc++ and created a symbolic link to it. Now like I said the plugin crashes the browser. Looking at the library libstdc++ says its version 5... is libstdc++ part of the glibc libraries and is it possible to install this version 6.2.2 that the java plugin wants?
 
  


Reply



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 Plug-in will not work aaronruss Linux - Newbie 8 12-19-2004 07:47 PM
java plug in problem vova Linux - Software 1 09-21-2003 06:06 AM
Java plug in HwzrHlslndr Linux - General 10 06-20-2003 04:52 PM
Netscape 6 JAVA Plug-in fio Linux - General 10 12-22-2001 05:05 PM
how to install java plug-in? bxb32001 Linux - Software 1 06-15-2001 03:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:10 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