[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

OT: Different Java Plugins with Netscape 6.2



Hi!

I'm having trouble selecting different Java Plugin versions for Netscape
6.2. This means I can only use the Java 1.3.1 that's been shipped with
Netscape 6.2. I tried the following:

1. Setting the NPX_PLUGIN_PATH variable from the command line (didn't
work, but used to work for my Netscape 4.78)

2. Setting the NPX_PLUGIN_PATH variable from within the
"run-mozilla.sh" start script (didn't work either)

3. Going to the "plugins" directory, moving the "java2" subdir out of the
way, and making the symlink libjavaplugin* point to the corresponding file
of the desired plugin (the one being shipped with 1.4.0). This method
works but is pretty awkward. I'm looking for a method that lets me
conveniently change plugin versions before I start Netscape. I got a set
of aliases on my system that let me switch between multiple JDKs. They
look like this

alias sunjdk131="export
PATH=$BASE_PATH:/usr/local/java/sun-jdk-1.3.1_01/bin; export
JAVA_HOME=/usr/local/java/sun-jdk-1.3.1_01; export
NPX_PLUGIN_PATH=/opt/Netscape-4.78/plugins:/usr/local/java/sun-jdk-1.3.1_01/jre/plugin/i386; export
MANPATH=$BASE_MANPATH:/usr/local/java/sun-jdk-1.3.1_01/man"

(BASE_PATH and BASE_MANPATH contain the complete paths to the binaries and
manpages, respectively, but without the JDK paths).

Does anybody have a good suggestion to this problem? Thanks in advance for
any hints (or pointers to hints).

Kind regards,

	Holger




Reply to: