How to run two browsers (Firefox) with Java plugins in Windows (7) having different versions (1.6 and 1.7)?

4

1

For an old KVM switch I need to run a browser with Java 1.6. But for all other cases I want to use the latest Java browser plugin which is 1.7.

On Linux I can create two profiles and put in each a symbolic link to the Java plugins. By this I can easily create two profiles: one for Java 1.6 and on for Java 1.7.

How to achieve the same on Windows?

It seems to me that the Java version which should be run in the browser is taken form a registry key. This makes it impossible to have two browsers with two different Java plugins on the same machine. How to work around this limitation/design error?

There is already a similar question about IE and Java 1.5/1.6 but it has also no answer.

ceving

Posted 2014-02-17T13:27:28.233

Reputation: 1 737

Answers

4

Use a portable Firefox together with a portable version of Java 1.6 as second browser.
This way, you can still use your primary installed Firefox together with your installed Java 1.7

You need 3 things:

  1. Firefox Portable: The launcher FirefoxPortable.exe automatically detects portable Java versions
  2. jPortable: PortableApps.com is hosting a portable version of Java on sourceforge.net.
    There we find archives for older Java versions including some Java 1.6 versions » Yeah!
  3. When extracting jPortable and Firefox Portable you have to set up the correct installation paths. Otherwise Firefox cannot detect Java 1.6.

    [...]--+--\ CommonFiles \ Java \ bin \ java.exe
           |
           +--\ Firefox \ FirefoxPortable.exe
    

    As you see, the Firefox launcher jumps one folder level up and looks for a folder called CommonFiles and loads all plugins placed inside

proof screen enter image description here


It's possible you will see both Java versions in Firefox Portable under Addons » Plugins. Just disable Java 1.7 so your second browser will only use 1.6

nixda

Posted 2014-02-17T13:27:28.233

Reputation: 23 233

If I disable the newer Java, which is locally installed on my system, the jPortable Java is also disabled, if I enable jPortable Java, the other is activated as well and chosen over the jPortable one - making it impossible for me to use the older Java. Do you have any solution for that? – CodeManX – 2014-10-15T20:53:33.237

Set "plugin.scan.plid.all" to "false" in your portable firefox. This will prevent firefox from using the "MozillaPlugins" registry entry. – Marco – 2015-03-31T12:43:11.530

0

You may want to look into http://browserstudio.com/. It's from the application virtualization folks at Spoon.net. You can mix Firefox, IE or Chrome with a number of add-ons/plug-ins, including Java.

Patrick Seymour

Posted 2014-02-17T13:27:28.233

Reputation: 7 662

Worked pretty well, but only like 10 minutes, then you're asked to pay $20 per month for the service :( – CodeManX – 2014-10-15T20:52:12.047