04/15/2015 1915 views
 In an environment we have 5 or 6 such applications which run on specific version of Java ranging from 1.5 to 1.8 update 40. So how to manage the same except virtualizing the application. 
0 Comments   [ + ] Show comments


All Answers


I had success at (more than one) previous client by fooling the app into believing its required version is installed by (what I call) "ghosting" the relevant registry entries. That is to say, keep 'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\1.8.0_40' but copy the data contained in it to, say 'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Runtime Environment\1.6.0_19' and so on. In other words, every previous version's entry points to the location of the latest version.

Do the same for 'HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Web Start'.

Test this nonsense on VMs, obviously.

Answered 04/16/2015 by: VBScab
Red Belt