Using windows xp/7/vista. Is it possible and if so how; can I run 2 different versions of Java so 2 different browsers (firefox/chrome/IE/anyother) can use the specific JVM.

Without the use of Virtual Environments of course.


  • why do you need to do this? java6 -> java7 has almost no compatibility issues. well, none that i'm aware of at least, and oracle says just about all java6 code will run on java7 without any changes.
    – SnakeDoc
    Mar 4 '14 at 5:39
  • 2 different companies have applets that require a specific version of java else it doesn't load.
    – Mark
    Mar 4 '14 at 8:48
  • yuck... sounds like they hard coded in a check for the java version :/ -- it's not a real dependency then as it sounds... but more an artificial dependency.
    – SnakeDoc
    Mar 4 '14 at 15:37

As far as I know you should be able to install both the Oracle JRE version 6 and version 7 on the same system (and both the x86 and x86_64 binaries), then using Firefox you can enable/disable a specific version in the Tools → Add-ons → Plugins page.

However, if you want to run 2 different revision of the same JRE version, I think it's not possible. You may be able to install one then copy the plugin it has installed in the Firefox' plugins folder, then install the other and put the older plugin back in the plugins folder (with a different name) but I'm not sure if it would work.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.