Netscape 6 - How to determine and locate the java vm
Posted on 2002-06-06
We need to install some java class libraries onto a users system when they are using Netscape 6. Netscape 6 uses Sun's JRE plug-in. I'm using the new Netscape 6 XPI technology to register and detect the java class libraries.
The problem is that I need to be able to locate the "lib/ext" subdirectory of the installed Java VM that Netsape 6 is using so that I can install our classes. Manual installation is not an option. I don't see any functionality in the XPI documentation that allows me to locate this. Looking in the Windows registry is not a good option either as Linux wouldn't support these calls.
Basically there are 2 questions here:
1) How to determine which and where the Java VM is that Netscape 6 is using?
2) If there a way to access the "lib/ext" from the XPI install technology?