JRE 1.6.0_37 & 1.7.0_11
Good Afternoon,
I have a dilemma and I am hoping you can help me with it. I am working on a project currently to deploy JRE 1.6.0_37 AND JRE 1.7.0_11 to the same client PCs.The PC's in tnis instant are running Windows XP.
The problem I have is this, I have noticed that with JRE1.6, the location of the Deployment cache folder is Docs and Settings\User$\Local Settings\Temp\Sun\Java\Deployment\cache. However, with JRE 1.7, it saves the same folder to the following location, which is User$\Local Settings\Application Data\Sun\java\deployment\Cache.
Now, my question is this, In order to resolve the issue of version 1.7 "changing" the file path of the deployment cache folder, I have decided to edit the deployment.config file to "re-point" the cache folder back to its original location as configured by JRE 1.6.
I need to know what happens if I change the 1.7 cache folder location to the same as JRE 1.6 location (ie) will it always invoke the latest version or will it be able to distinguish between both versions? If it can’t is it possible for both versions to coexist on the same machine in terms of 1.7 applications invoking JRE 1.7 and 1.6 applications invoking JRE 1.6.
Would it "select" any existing cache folder? Of course, It is the intention to subject this to testing but I am posting this on here in an effort to get a heads up on any potential effects and solutions to my problem.
Another possible solution would be to add additional lines within the deployment .config file to account for the change within the file paths so we end up with lines representing both versions of JRE (I hope this makes sense).
Again, it is a case of trying to figure out the effect this may have on the applications as by default, I believe they are configured to use the highest version by default.(Most of the apps on XP are "configured for 1.6, yet we intend to deploy both versions of JRE)
Any help or guidance on this would be appreciated.
Regards
Christopher