I installed Java in my D drive (Windows 7). Then, I downloaded jdk-7u25-windows-x64.exe and did an install, except it didn't ask me where to put the installation (stupid Oracle), and automatically put in in C. Now, I have the jre in my D drive and the jdk in my C drive. I need to define JAVA_HOME, but that seems to be 2 locations.
The jdk appears as an installed program (rather than just an unpacked directory), and I looked at my registry and there appear to be entries with the term jdk, so I doubt I can simply move the jdk from C to D.
How do I get the jdk on to D in the same directory as the jre? Ideas?