Is there an API to attach a particular JVM with the Firefox browser instance when it comes up?

I am using Firefox 3.6.x with JRE 6 u10 and above on Linux. I attach the JVM to the Firefox process using the dlopen() and AttachToCurrentThread() calls. The plugins folder within Firefox contains a soft link to the libnpjp2.so shared library from JRE 6. When I bring up the browser instance with no pages loaded, the process information confirms that the JRE is loaded (libjava.so, libjvm.so are present and attached to the firefox process). Now when I open an applet on this firefox instance - the browser crashes.
It seems that for some reason that the firefox process is oblivious of the already loaded JVM instance and tries to open another instance of the JVM to attach with the applet which causes the crash.
Is there an API that is exposed by Firefox that can help me load the JVM programmatically within the browser? And if so will this help in avoiding a call to reload the JVM when an applet is opened?

Can you post the original link you have in Excel. We need to see what the
full link looks like.

Similar Messages

Maybe you are looking for