LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-17-2003, 02:28 AM   #1
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
jre plugin on a redhat 9 box


Hey chaps,

I'm really suffering with this RH9 box now - and seriously considering a switch back to Slackware..

Anyway, given the following, can anyone suggest why my browser continues to refuse to play applets?

I am using Galeon 1.2.10 with Mozilla 1.3. My 'Help -> plugins' dialogue shows support for all sorts of java MIME types, including beans and applets - all under the heading "px4HB Plug-in 1.3.1_08-b03" (whatever that means).

I have also created the following symlink:

[chris@kerenski chris]$ ls -al /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so
-rwxrwxrwx 1 root bin 351506 Jun 17 02:15 /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so
[chris@kerenski chris]$ ls -al /home/chris/.mozilla/plugins/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 60 Jun 17 02:23 /home/chris/.mozilla/plugins/libjavaplugin_oji.so -> /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so


Now I'm stumped!


christo
 
Old 06-17-2003, 02:52 AM   #2
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
Did you install Mozilla 1.2.1 with your red hat 9 install?
 
Old 06-17-2003, 03:47 AM   #3
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
yes, but I have since upgraded to mozilla 1.3
 
Old 06-17-2003, 05:17 AM   #4
Prowler
LQ Newbie
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 3

Rep: Reputation: 0
use the .xpi much easier and works fine you can find it at netscape
 
Old 06-17-2003, 11:37 AM   #5
v2lk
Member
 
Registered: May 2003
Location: Estonia
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
i use mz1.4rc1 and firebird 0.6 sucessfully with jre1.4.1, i think you should try this combination too. and make sure you do nothing else than softlink the java module to /plugins, not like many try to to:copy.
 
Old 06-17-2003, 11:49 AM   #6
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
quote
<hr>
[chris@kerenski chris]$ ls -al /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so
-rwxrwxrwx 1 root bin 351506 Jun 17 02:15 /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so
[chris@kerenski chris]$ ls -al /home/chris/.mozilla/plugins/libjavaplugin_oji.so
lrwxrwxrwx 1 root root 60 Jun 17 02:23 /home/chris/.mozilla/plugins/libjavaplugin_oji.so -> /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so


<hr>

This link is to the wrong, you must create a link from

/usr/java/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so
to
/usr/lib/mozilla/plugins/
 
Old 06-17-2003, 12:10 PM   #7
v2lk
Member
 
Registered: May 2003
Location: Estonia
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
yes, i use 6.10 version too, but still 6.0 should do it also. that is about mozilla 1.4 and jre 1.4.1, don't know about others.
 
Old 06-17-2003, 12:16 PM   #8
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
your created your link from -

/usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so

you should of created it from -

/usr/java/jre1.3.1_08/plugin/i386/ns610/libjavaplugin_oji.so

and you placed it like so -

/home/chris/.mozilla/plugins/libjavaplugin_oji.so

and it goes here

/usr/lib/mozilla/pluggins/libjavaplugin_oji.so

so your link should be like so -

lrwxrwxrwx 1 root root 60 Jun 17 02:23 /usr/lib/mozilla/plugins/libjavaplugin_oji.so -> /usr/java/jre1.3.1_08/plugin/i386/ns610/libjavaplugin_oji.so

if the link is not from the ns610 it will not work properly.
 
Old 06-17-2003, 12:29 PM   #9
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
jchristman,

as it happens, I have already tried that and the link still remains:

[chris@kerenski chris]$ ls -al /usr/lib/mozilla/plugins/
total 12
drwxr-xr-x 2 root root 4096 Jun 17 02:25 .
drwxr-xr-x 3 root root 4096 May 27 19:34 ..
lrwxrwxrwx 1 root root 39 Jun 4 09:02 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root 60 Jun 17 02:25 libjavaplugin_oji.so -> /usr/java/jre1.3.1_08/plugin/i386/ns600/libjavaplugin_oji.so


but I still can't see any applets.

v2lk, I might try with firebird too, just to see if it's any better. I have heared of other people who have had problems with Galeon and the jre..

I did notice, though that my link points to ns600, whereas everybody else's points to ns610 :'(


christo
 
Old 06-17-2003, 01:20 PM   #10
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Have you tried at least testing the plugin in plain old mozilla? That always works fine for me.
 
Old 06-17-2003, 01:24 PM   #11
jchristman
Member
 
Registered: Mar 2003
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
Quote:
I did notice, though that my link points to ns600, whereas everybody else's points to ns610 :'(

As Ive been trying to say there is something wrong with the ns600 plugin, you have to use the ns610 plugin

If you have to upgrade you j2re to 1.4
 
Old 06-17-2003, 02:53 PM   #12
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
Thanks for the pointers, jchristman - I must still be doing something really stupid though... here are the links I have. I have been trying for a while now and still no joy

[root@kerenski java]# ls -al /usr/lib/mozilla/plugins/
total 12
drwxr-xr-x 2 root root 4096 Jun 17 20:22 .
drwxr-xr-x 3 root root 4096 May 27 19:34 ..
lrwxrwxrwx 1 root root 39 Jun 4 09:02 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root 61 Jun 17 20:22 libjavaplugin_oji.so -> /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so
[root@kerenski java]# ls -al /usr/lib/mozilla-1.3/plugins/
total 40
drwxr-xr-x 2 root root 4096 Jun 17 20:25 .
drwxr-xr-x 9 root root 4096 May 27 19:34 ..
lrwxrwxrwx 1 root root 37 Jun 4 09:02 flashplayer.xpt -> /usr/lib/flash-plugin/flashplayer.xpt
lrwxrwxrwx 1 root root 39 Jun 4 09:02 libflashplayer.so -> /usr/lib/flash-plugin/libflashplayer.so
lrwxrwxrwx 1 root root 61 Jun 17 20:25 libjavaplugin_oji.so -> /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so
-rwxr-xr-x 1 root root 24977 Mar 14 15:13 libnullplugin.so
[root@kerenski java]# ls -al /home/chris/.mozilla/plugins/
total 12
drwxrwxr-x 2 chris chris 4096 Jun 17 20:27 .
drwxrwxr-x 4 chris chris 4096 Jun 17 02:26 ..
lrwxrwxrwx 1 root root 61 Jun 17 20:27 libjavaplugin_oji.so -> /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so


So there are 3 locations, the default mozilla plugins directory, the one for mozilla 1.3 and then one in my own home area

I now don't have anything java-related listed in the Help -> about plugins screen and applets aren't working on Mozilla or Galeon

I must be doing something really daft here. Can you see what it is


christo
 
Old 06-18-2003, 02:35 AM   #13
v2lk
Member
 
Registered: May 2003
Location: Estonia
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
you better erase everything you have created this far, then
Code:
cd /usr/local/mozilla/plugins
ln -s /usr/java/jre1.3.1_08/plugin/i386/ns610/libjavaplugin_oji.so
and then we'll talk.

Last edited by v2lk; 06-18-2003 at 03:16 AM.
 
Old 06-18-2003, 03:29 AM   #14
chr15t0
Member
 
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Original Poster
Rep: Reputation: 30
This really is crazy! So I went around and removed the links I had created and started from scratch, running the following command:

ls -al /usr/java/j2re1.4.1_03/plugin/i386/ns610/libjavaplugin_oji.so

in these two locations:

/usr/lib/mozilla-1.3/plugins/ and
/usr/lib/mozilla/plugins/

and still no cigar.

I chose those two locations, becase my Flash player, libflashplayer.so is located here too and works just fine:

[root@kerenski plugins]# locate libflashplayer.so
/usr/lib/mozilla-1.3/plugins/libflashplayer.so
/usr/lib/mozilla/plugins/libflashplayer.so
/usr/lib/flash-plugin/libflashplayer.so

I'm by no means a beginner when it comes to working with *nix and I have had jre running on several machines in the past, so this one has me quite perplexed now


christo
 
Old 06-18-2003, 05:12 AM   #15
v2lk
Member
 
Registered: May 2003
Location: Estonia
Distribution: Slackware 9.1
Posts: 61

Rep: Reputation: 15
i suggest you to not use mozilla installer that installs it over different dirs, like you have. i've had bad expieriences with that, in other words, i got just nothing to work with this. now i only use the version where all the components are located in /usr/local/mozilla
 
  


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
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 06:34 PM
AMD64 JRE 1.5.0 Update 2 not containing mozilla plugin? ParticleHunter Linux - Software 3 04-17-2005 03:31 PM
JRE Plugin for Netscape Linux_ss Linux - Software 3 01-30-2003 11:32 AM
Redhat 8.0 / java plugin KZxHugo79 Linux - Newbie 7 01-12-2003 08:45 AM
Cannot see redhat box from win 2k box? Spiderwks Linux - Newbie 4 10-24-2002 10:42 PM

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

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