Scripting Question

How to manage different versions of java dependent applications on single machine?

04/15/2015 2023 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

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ