Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I test Java applet with different Java versions in Firefox?

How can I test Java Applet application in the Firefox with different Java Plugins versions? For instance, with Java 6 and Java 7?

Is there a way to guide Firefox to the correct java.plugin.dll?

Haven't found any Firefox command-line options with regard to NPAPI so far.

like image 725
Ostap Andrusiv Avatar asked Apr 10 '26 08:04

Ostap Andrusiv


1 Answers

Finally, I managed to do this.

Steps to make your computer use another JRE/JDK:

  1. Open regedit.
  2. Open HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@java.com/JavaPlugin,version=XXX subtree.
  3. Change Path value to the place, where your plugin dll is. E.g.: c:\java\jdk1.6.0_37\jre\bin\plugin2\npjp2.dll.
  4. Change Version value E.g.: 1.6.0_37.
  5. Make sure, that you have correct Java in %PATH% environment variable.
  6. In the Control Panel -> Java -> View disable all javas that you will not use. Select only the one you need.
  7. Have fun!
like image 124
Ostap Andrusiv Avatar answered Apr 12 '26 22:04

Ostap Andrusiv



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!