what \bin to add to system Path env var from a jdk
Posted
by raticulin
on Stack Overflow
See other posts from Stack Overflow
or by raticulin
Published on 2010-05-20T13:50:07Z
Indexed on
2010/05/20
13:50 UTC
Read the original article
Hit count: 214
If you install the latest java 1.6 jdk, without installing the public jre option, you end up having two \bin dirs with java.exe:
%JAVA_HOME%\jre\bin
%JAVA_HOME%\bin
if you compare those dirs, there are a few files that are identical (java.exe etc), and a bunch that are either in one or the other. So far I used to add %JAVA_HOME%\bin to my Path environment var, but now I am wondering, does it make a difference? Is there any side effect to choose one or the other?
And would not be much cleaner if the installation had only one java.exe and \bin folder?
© Stack Overflow or respective owner