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 <[email protected]> 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:
> [email protected]] *On Behalf Of *Brittain, Mark
> *Sent:* Wednesday, February 27, 2013 9:48 AM
>
> *To:* [email protected]
> *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*
>
> [email protected]****
>
> Office: 315-453-2912 x5335****
>
> 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_
>

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to