Great tip Jason, I've used hard and soft links in Linux before but hadn't done so in Windows before today. I was able to create both the junction you suggested as well as one joining jre6 to jre7 so that any existing programs that insist on looking for jre6 can work and I can still let Java install to its default directory. Now when version 8 rolls around I just need to update those two junctions and I should be good to go.
I also remembered that the Data Import tool stopped working with the same error for not being able to find the jre6 path on my machine. I had updated my path variable as well as the ini file for Data Import as well so who knows where the pointer to jre6 is buried for these programs. -Rick ___________________________ Rick Westbrock QMX Support Services From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Jason Miller Sent: Wednesday, February 27, 2013 10:11 AM To: arslist@ARSLIST.ORG Subject: Re: Developer Studio issue ** We have been using symbolic links and pointing installers to those instead of the actual Java install directories. Similar to what you said about installing to ../jre instead of ../jre7 or ../jre6. We let the installer installed in the path it wants (except for changing to D:) and then created a ../jre and/or ../jdk symbolic link. If we update Java from 6 to 7 we just need to update the symlink. Windows example: mklink /J "D:\Program Files\Java\jre" "D:\Program Files\Java\jre7" It creates a junction (like a shortcut that apps can use) called D:\Program Files\Java\jre that points to the jre7 directory. Here is output of Dir from one of our systems: Directory of d:\Program Files\Java 02/21/2013 10:45 PM <DIR> . 02/21/2013 10:45 PM <DIR> .. 02/21/2013 10:45 PM <JUNCTION> jdk [D:\Program Files\Java\jdk1.7.0_13] 02/21/2013 10:46 PM <DIR> jdk1.7.0_13 02/21/2013 10:45 PM <JUNCTION> jre [D:\Program Files\Java\jre7] 02/21/2013 10:43 PM <DIR> jre7 In Mark's case a quick the following should provide a quick fix (assuming MS Vista/server 2008 or greater): mklink /J "D:\Program Files\Java\jre6" "D:\Program Files\Java\jre7" Jason On Wed, Feb 27, 2013 at 9:54 AM, Rick Westbrock <rwestbr...@qmxs.com> wrote: ** Funny, I had the same issue last week. I had to uninstall Java 6 to meet security requirement but even after modifying the config file for Dev Studio it was still looking for that jre6 directory. I ended up uninstalling Java 7 and re-installing it to the jr6 directory as a quick fix so that I wasn't stranded without my tools. I don't know what the root cause of the issue is and I quickly gave up searching my registry for "jre6" as it was in a large number of entries. I had even tried reinstalling Dev Studio after removing Java 6 but it's still looking for that jre6 path for some reason. I may n I have co-workers who had initially installed Java to a jre directory (no version number) so that version upgrades wouldn't cause such an issue. I think maybe to get a long-term solution I will need to install Java 7 to C:\Program Files\Java\jre\ then uninstall Dev Studio, reboot, then install Dev Studio again to see if that helps. -Rick ___________________________ Rick Westbrock QMX Support Services From: Action Request System discussion list(ARSList) [mailto:arslist@ARSLIST.ORG] On Behalf Of Brittain, Mark Sent: Wednesday, February 27, 2013 9:48 AM To: arslist@ARSLIST.ORG Subject: Developer Studio issue ** Hi All, I hope there is an easy fix for this one. Today I updated java and not Studio does not load. The error I get is no JVM found after searching the following locations: C:\Program Files\Java\jres6\bin\javaw.exe. When I went looking for the file I found in C:\Program Files\Java\jres7\bin\javaw.exe So do I have to de-install/reinstall studio or something else to get up and running again. Developer 7.6.04 SP3 AR Server 7.6.04 SP3 Thanks Mark Mark Brittain Remedy Developer ITILv3 Foundation NaviSite - A Time Warner Cable Company mbritt...@navisite.com Office: 315-453-2912 x5335 <tel:315-453-2912%20x5335> Mobile: 315-882.5360 _____ This e-mail is the property of NaviSite, Inc. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited. _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _ARSlist: "Where the Answers Are" and have been for 20 years_ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org "Where the Answers Are, and have been for 20 years"