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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
07-09-2003, 09:48 AM
|
#1
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Rep:
|
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.
|
|
|
07-09-2003, 10:00 AM
|
#2
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
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.
|
|
|
07-09-2003, 10:53 AM
|
#3
|
LQ Newbie
Registered: Jan 2003
Location: El dorado Hills CA.
Distribution: redhat 9.0
Posts: 10
Rep:
|
Java
Justs a thought the new version for the plug-in is 1.4.1_03
|
|
|
07-10-2003, 03:04 AM
|
#4
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Original Poster
Rep:
|
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
|
|
|
07-10-2003, 03:09 AM
|
#5
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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.
|
|
|
07-10-2003, 03:26 AM
|
#6
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Original Poster
Rep:
|
there is no such directory. where can I downoad the files from it????
|
|
|
07-10-2003, 03:52 AM
|
#7
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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.
|
|
|
07-10-2003, 05:16 AM
|
#8
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Original Poster
Rep:
|
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?
|
|
|
07-10-2003, 05:31 AM
|
#9
|
Senior Member
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120
Rep:
|
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.
|
|
|
07-10-2003, 06:31 AM
|
#10
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Original Poster
Rep:
|
|
|
|
07-10-2003, 08:29 AM
|
#11
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
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.
|
|
|
07-10-2003, 09:16 AM
|
#12
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Original Poster
Rep:
|
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 
|
|
|
07-10-2003, 10:24 AM
|
#13
|
LQ Newbie
Registered: Mar 2003
Posts: 24
Rep:
|
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.
|
|
|
07-10-2003, 10:36 AM
|
#14
|
LQ Newbie
Registered: Jul 2003
Posts: 14
Original Poster
Rep:
|
10x for the advise, I'll try it, hope that it'll work, cos I'm so pissed off  always hated NS and mozilla
|
|
|
07-10-2003, 09:29 PM
|
#15
|
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251
Rep:
|
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?
|
|
|
All times are GMT -5. The time now is 02:56 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|