As JavaSE 7 java.security JavaDoc suggests:
... The Java security properties file is located in the file named <<#JAVA_HOME>>/lib/security/java.security. <<#JAVA_HOME>> refers to the value of the java.home system property, and specifies the directory where the JRE is installed.
(# is for escaping)
It confuses me at first because:
If we have JDK installed,
JAVA_HOME
should point tojdk_folder
and/lib/security/java.security
is found underjdk_folder/jre
.If we only have JRE installed,
/lib/security/java.security
is found underjre_folder
.
So, the JavaDoc is ambiguous here. Maybe the term JRE_HOME
is better. If I follow the JavaDoc to change the JAVA_HOME
to be jdk_folder\jre\
, it will all be messed up.
So some changes should be made in the JavaDoc. Where can I submit it?