On Windows 7 x64, how to run JDK/JRE 6 for applet, but run JDK 7 for anything else?

2

We intend to use JDK 7 for our development use. But there is a dumb (but critical) web applet application which relies on JDK/JRE 6 (otherwise it won't run). I only need the JDK/JRE 6 applet to run in either IE or Firefox. How to do this?

fajrian

Posted 2013-07-09T03:48:17.463

Reputation: 121

Install only the JRE 6 browser plugin? – Ignacio Vazquez-Abrams – 2013-07-09T03:51:49.457

@IgnacioVazquez-Abrams Where to obtain the plugin? – fajrian – 2013-07-09T03:53:11.880

1From the JRE 6 installer? – Ignacio Vazquez-Abrams – 2013-07-09T03:53:39.510

@IgnacioVazquez-Abrams Where to find the manual for this kind of hackie installation? Browser wizard always guides me to download the latest Java version (i.e Java 7). – fajrian – 2013-07-09T03:55:37.783

Wouldn't know . – Ignacio Vazquez-Abrams – 2013-07-09T03:56:27.757

@IgnacioVazquez-Abrams: Or perhaps do you know which files need to be copied from JRE 6 folder to the IE or Firefox folder? – fajrian – 2013-07-09T04:01:42.360

No, I haven't actually used JRE 6 for... a very long time. – Ignacio Vazquez-Abrams – 2013-07-09T04:03:12.723

The best solution we have found (other than dropping Java, which sadly is not possible) is to install all required versions and just enable / disable as required from the java cpl – Austin T French – 2013-07-09T04:24:14.380

@AthomSfere: To run applet, does IE or Firefox need the JRE/bin in the Path and the JRE folder in JAVA_HOME? – fajrian – 2013-07-09T04:32:32.830

When you install them, it will add additional JAVA paths, yes. Or with some you can install, then in the CPL add -> existing and point it to the older version. Unfortunately with Java you have to try, test, see how broken everything is and adjust – Austin T French – 2013-07-09T04:36:55.760

The Java 6 browser plugin does not allow the kind of control the Java 7 browser addon allows. You will have problems doing this. Why do you want to use an insecure version of Java for? – Ramhound – 2013-07-09T12:14:55.813

No answers