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)
Please log in to answer
Posted by:
anonymous_9363
9 years ago
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.