/build/static/layout/Breadcrumb_cap_w.png

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

 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

Answers (1)

Posted by: anonymous_9363 9 years ago
Red Belt
0

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.

 
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