您的位置:首页 > 编程语言 > Java开发

14-06-2015 Java_Home and Path

2015-06-14 23:20 477 查看
JAVA_HOME和Path

JAVA_HOME
and
JRE_HOME
are
not used by Java itself. Some third-party programs (for example Apache Tomcat) expect one of these environment variables to be set to the installation directory of the
JDK
or
JRE
.
If you are not using software that requires them, you do not need to set
JAVA_HOME
and
JRE_HOME
.
PATH
is
an environment variable used by the operating system (Windows, Mac OS X, Linux) where it will look for native executable programs to run. You should add the
bin
subdirectory
of your
JDK
installation
directory to the
PATH
,
so that you can use the
javac
and
java
commands
and other
JDK
tools
in a command prompt window.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: