colton peterson wrote:I myself wasn't even aware there was a public or private JRE, but a quick google search turns up this. He does a pretty good job of explaining the differences, basically the public JRE is the one you want everything else on the computer to use, and a private JRE is just if you need to have multiple versions of the JRE on the computer.
So I read that post and understand what the writer was trying to convey. My issue is, if you install the JDK and set your JAVA_HOME variable to point to your JDK install path, then whenever you issue any command such as "java ....", then anything that uses JAVA_HOME is going to source the version of java that lives in the JDK path (the private one)? After a a little tinkering, I've noticed that if you install the public JRE as well, it looks like Windows does some fundangled thing and sets the JRE's path somewhere in the registry or what not so that the public JRE is sourced before we hit JAVA_HOME in the path.