Click to See Complete Forum and Search --> : How to make java 1.3 plugin work?
veggie2u
11-12-2000, 02:49 AM
I have been trying to get the plugin to work, but Netscape keeps telling me that I don't have the right plugin. The only install tip in the instructions is to set the NPX_PLUGIN_PATH=<jre>/plugin/i386, in my case: =/usr/local/jdk1.3/jre/plugin/i386. Is there something I need to do in netscape?
veggie2u
hungarian
11-12-2000, 03:09 AM
It is a real pain to install A N Y plugin in Netscape 4.75.
This is how my plugin directory looks under RH 7.0.
[frank@babe plugins]$ pwd
/usr/lib/netscape/plugins
[frank@babe plugins]$ ll
total 1.7M
-r-xr-xr-x 1 root root 2.3k Aug 15 08:11 ShockwaveFlash.class*
-r-xr-xr-x 1 root root 56k Aug 15 08:11 cpPack1.jar*
lrwxrwxrwx 1 root root 51 Oct 31 19:42 javaplugin.so -> /usr/local/j2sdk1.3.0/jre/plugin/i386/javaplugin.so*
-r-xr-xr-x 1 root root 748k Aug 15 08:11 libflashplayer.so*
-r-xr-xr-x 1 root root 788k Aug 15 08:11 libnullplugin.so*
lrwxrwxrwx 1 root root 45 Oct 22 23:03 nppdf.so -> /usr/lib/acrobat/Browsers/intellinux/nppdf.so*
-r-------- 1 root root 25k Aug 14 13:42 pluggerso
lrwxrwxrwx 1 root root 30 Nov 3 15:55 rpnp.so -> /usr/local/RealPlayer7/rpnp.so*
if you noticed I created a symbolic link to wherever my javaplugin.so is installed.
Also note that the old applet tag is replaced by the new EMBED or OBJECT tag by Sun under SDK 1.3.
Probably best if you had over to http://java.sun.com/products/plugin/index.html and read the page. Also Sun provided some of the new applets there, that you can try your new plugin on.
I did not touch my NPX_PLUGIN_PATH variable by the way at all.
If you click help in netscape/about plugins and you see Blackdown loaded + you can run the demo applets at Sun, you are in business.
Good luck !
------------------
http://homepages.paradise.net.nz/frankkru
veggie2u
11-12-2000, 01:28 PM
OK, the symbolic link thing got the plugin up and going. It is in the help:about http://www.linuxnewbie.org/ubb/tongue.giflugins place. Now I get an error when I try to access the ControlPanel for the jre.
Plugin: couldn't read directory /usr/lib/lib/
Exec of /usr/lib/bin/i386/native_threads/java_vm failed: 2
Plugin: Plugin is not enabled or Java VM process has died.
(Can't figure out where it is getting that usr/lib/lib - that dir does not exist)
I still also get an error trying to access applets that are Java2, for example the Animator applet from sun.
What do you have set up for environment vars that are related to java? Are you using the Blackwater, or Sun JDK/JRE like I am?
veggie2u
veggie2u
11-13-2000, 12:27 PM
Anyone got any ideas?
veggie2u
You may not appreciate this, but my best suggestion would be to get Mozilla M18; I had no problem setting up java, once I had the permissions set in the plugins directory.
veggie2u
11-13-2000, 04:46 PM
I have a Modzilla download - don't remember which M. The one that I have won't start the Java VM. It says it fails starting in one of the last messages it put out. I will try a new download.
As for permissions: what type does the plugin directory, or the file under the jre directory need.
Thanks,
veggie2u