On Mon, 5 Dec 2011 14:40:20 +0100, Joerg Meier <
joerg...@arcor.de>
wrote, quoted or indirectly quoted someone who said :
>
>So if I download the JDK, I won't be able to run Java programs ? That
>doesn't really strike me as a sensible idea.
No. The JDK includes the JRE. It would continue to do so, just drop
the two extra java.exes.
consider all the copies of Java.exe on my machine, each with its own
ext dir.
C:\Program Files\Java\jre7\bin\java.exe
C:\Program Files (x86)\Java\jre7\bin\java.exe
C:\Windows\System32\java.exe
C:\Windows\SysWOW64\java.exe
E:\Program Files\Java\jdk1.7.0_01\bin\java.exe
E:\Program Files\Java\jdk1.7.0_01\jre\bin\java.exe
E:\Program Files (x86)\Java\jdk1.7.0_01\bin\java.exe
E:\Program Files (x86)\Java\jdk1.7.0_01\jre\bin\java.exe
F:\Program Files (x86)\jet7.6-pro\profile1.6.0_27\jre\bin\java.exe
F:\Program Files (x86)\JetBrains\IntelliJ
IDEA10.5.2\jre\jre\bin\java.exe
When you install a JDK you get three copies of Java.exe. You need
only one.
the Java.exe in System32 and SysWOW64 could be replaced with a
registry entry in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
Paths\
You still need the Jet and IntelliJ private copies. They cause less
trouble since they don't even show up in the Java control panel.