14-06-2015 Java_Home and Path
2015-06-14 23:20
477 查看
JAVA_HOME和Path
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
If you are not using software that requires them, you do not need to set
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
of your
directory to the
so that you can use the
and other
in a command prompt window.
JAVA_HOMEand
JRE_HOMEare
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
JDKor
JRE.
If you are not using software that requires them, you do not need to set
JAVA_HOMEand
JRE_HOME.
PATHis
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
binsubdirectory
of your
JDKinstallation
directory to the
PATH,
so that you can use the
javacand
javacommands
and other
JDKtools
in a command prompt window.
相关文章推荐
- Spring学习——DI(依赖注入)
- JDK,JRE,JVM区别与联系
- java对象克隆之深度克隆 deep clone
- java 框架基础知识(5)----注解-->Spring配置
- java 基础static关键字
- 在Servlet Filter中使用Spring容器
- Java之CyclicBarrier使用
- spring mvc messageConverters及406等问题
- java链表
- java线程和进程(运用多线程的小球碰撞游戏)
- Java 信号量 Semaphore 介绍
- java实现简单的窗体和密码验证(传参,事件机制和事件监听的作用过程)
- java图形界面基础之画图(使用Graphics类从画图形到图片到gif)
- java的数组队列和泛型
- java jtable mysql 练习与思考
- java的对象克隆技术clone()之浅度克隆(shallow Clone)
- java 框架基础知识(4)----XML基础知识-->Spring配置
- Struts2----带参数转发到JSP
- java学习笔记(六):关于iterator.next()
- Java基础之基础语法