LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   jre plugin on a redhat 9 box (http://www.linuxquestions.org/questions/linux-software-2/jre-plugin-on-a-redhat-9-box-66094/)

chr15t0 06-17-2003 03:28 AM

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

yowwww 06-17-2003 03:52 AM

Did you install Mozilla 1.2.1 with your red hat 9 install?

chr15t0 06-17-2003 04:47 AM

yes, but I have since upgraded to mozilla 1.3

Prowler 06-17-2003 06:17 AM

use the .xpi much easier and works fine you can find it at netscape

v2lk 06-17-2003 12:37 PM

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.

jchristman 06-17-2003 12:49 PM

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/

v2lk 06-17-2003 01:10 PM

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.

jchristman 06-17-2003 01:16 PM

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.

chr15t0 06-17-2003 01:29 PM

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

zmedico 06-17-2003 02:20 PM

Have you tried at least testing the plugin in plain old mozilla? That always works fine for me.

jchristman 06-17-2003 02:24 PM

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

chr15t0 06-17-2003 03:53 PM

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 :D


christo

v2lk 06-18-2003 03:35 AM

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.

chr15t0 06-18-2003 04:29 AM

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 :D


christo

v2lk 06-18-2003 06:12 AM

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


All times are GMT -5. The time now is 07:28 AM.