Want to bundle Firefox with JRE. How to ensure that the firefox Java add-on always uses the bundled jre

Want to bundle Firefox with JRE. How to ensure that the firefox Java add-on always uses the bundled jre.

What do you mean by “Java add-on”? Which add-on?

Also, you should keep in mind that NPAPI plugins (like the Java plugin) are deprecated and support for them will be removed from Firefox eventually. You shouldn’t rely on plugins if you’re building something that must work on modern browsers.

Thank you very much for your reply. I am trying to figure out how does the Firefox plugin detect Java in Mac? It always seems to pick Java from JavaAppletPlugin.plugin. Is there anyway I can configure firefox in such a way that it picks up Java from a custom folder?

(In Ubuntu, I can create a plugins folder in firefox profile and create symlink to libnpjp2.so. Can I do something like that in Mac osx?)

I don’t know if that’s possible.