Getting Java Plugins to work with Linux

Getting Java Plugins to work with Linux

Post by Lee Duk » Sun, 23 Feb 2003 11:03:07



I've installed j2re-1_4_1_01-fcs-linux-i586.rpm and
j2sdk-1_4_1_01-fcs-linux-i586.rpm (I think). But I cannot get plugins to
work with my browsers--netscape and mozilla.

I'm running Red Hat Linux 8.0.

I think I need to set some system variables but I'm not sure which ones
or how to do it.

Any help would be appreciated.

Lee

 
 
 

Getting Java Plugins to work with Linux

Post by Kevi » Sun, 23 Feb 2003 15:20:31


Simple. You should have the java directory installed somewhere like
/usr/local/j2re1.4.1_01.  The java plugin you want to use is in the
directory /usr/local/j2re1.4.1_01/plugin/i386/ns610/. You want to run
the following command as root.

ln -sf /usr/local/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so
/usr/local/mozilla/plugins/libjavaplugin_oji.so

Feel free to change the directory where mozilla or the jre is installed.
Whatever you do, do NOT put the library file in the mozilla plugins
directory, make a symbolic link. Not doing this causes mozilla to die
and close itself.

Once the file is linked to go to mozilla and go to help -> about plugins
and java should be listed a bunch of times. Go and test that java works.
The End

For more info on mozilla plugin installation, check out:
http://plugindoc.mozdev.org/linux.html

Kevin


> I've installed j2re-1_4_1_01-fcs-linux-i586.rpm and
> j2sdk-1_4_1_01-fcs-linux-i586.rpm (I think). But I cannot get plugins to
> work with my browsers--netscape and mozilla.

> I'm running Red Hat Linux 8.0.

> I think I need to set some system variables but I'm not sure which ones
> or how to do it.

> Any help would be appreciated.

> Lee


 
 
 

Getting Java Plugins to work with Linux

Post by Lee Duk » Mon, 24 Feb 2003 06:56:18


Thanks. With your help and Pat the Knife's I was able to get plugins to
work.

Lee


> Simple. You should have the java directory installed somewhere like
> /usr/local/j2re1.4.1_01.  The java plugin you want to use is in the
> directory /usr/local/j2re1.4.1_01/plugin/i386/ns610/. You want to run
> the following command as root.

> ln -sf /usr/local/j2re1.4.1_01/plugin/i386/ns610/libjavaplugin_oji.so
> /usr/local/mozilla/plugins/libjavaplugin_oji.so

> Feel free to change the directory where mozilla or the jre is installed.
> Whatever you do, do NOT put the library file in the mozilla plugins
> directory, make a symbolic link. Not doing this causes mozilla to die
> and close itself.

> Once the file is linked to go to mozilla and go to help -> about plugins
> and java should be listed a bunch of times. Go and test that java works.
> The End

> For more info on mozilla plugin installation, check out:
> http://plugindoc.mozdev.org/linux.html

> Kevin


>> I've installed j2re-1_4_1_01-fcs-linux-i586.rpm and
>> j2sdk-1_4_1_01-fcs-linux-i586.rpm (I think). But I cannot get plugins
>> to work with my browsers--netscape and mozilla.

>> I'm running Red Hat Linux 8.0.

>> I think I need to set some system variables but I'm not sure which
>> ones or how to do it.

>> Any help would be appreciated.

>> Lee

 
 
 

1. HELP getting older Java plugin installed/working...

Hi,

I am working with some software that requires that I run Netscape 4.78
(which installs with Solaris 9 that I have) with an older version of the
Java plugin (1.3.1) on a Solaris 9 SPARC system.

I have the JRE 1.3.1 tar file for Solaris, and I untarred it into
/j2re1_3_1, but there's no installer for it, so I'm trying to figure
what I need to do to properly install it so that Netscape uses the 1.3.1
version of the plugin.

I tried to copy the javaplugin.so from under the /j2re1_3_1 directory to
the netscape/plugins directory, and it kind of almost works.  Well, more
specifically, it works sometimes, but then most of the time I get an
error message saying "Exec of ...java-threads failed or Java VM has
died".

I'm suspecting that it's using the 1.3.1 javaplugin.so, but running
under a different version Java VM.

Can anyone tell me how I can 'properly' install the JRE 1.3.1, so that
it places stuff in the right place, including integrating it with
Netscape?

Thanks in advance,
Jim

2. Part of the ELMEDIT answer

3. Java Plugin won't work (NS 3.0.1, Linux 2.0.30)

4. how to install svga for so5

5. java plugin on linux-mozilla works only on root ?

6. Solaris - kernel routine definitions needed

7. SSRT3582 Potential Sec. Vulnerability in Java VM (J2SE) and the Java Plugin

8. Funny hard drive error messages during bootup; seems to work ?

9. Java Plugin not working in Konqui

10. Java plugin not working in mozilla-devel?

11. getting java's JDK to work on Slakware Linux

12. Java, Java, Java, Java, Java, Java .....

13. netscape 6.1 on Linux; java plugin fails to install