每日一句: Knowledge is a treasure, but practice the key to it. 知识是一座宝库,实践是打开宝库的钥匙。

java常用的环境变量配置

  • JDK配置
JAVA_HOME:  C:\java\jdk1.7.0
CLASSPATH:  .;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar;
PATH:        %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

 

  • TOMCAT配置
CATALINA_HOME: D:/jakarta-tomcat-5.0.30
CLASSPATH:    %CATALINA_HOME%/common/lib;
PATH:%CATALINA_HOME%/bin/ant.bat;

 

  • ant配置
ANT_HOME:E:/apache-ant-1.9.2
PATH:%ANT_HOME%/bin
posted @ 2013-08-23 11:47  wuyongmao  阅读(198)  评论(0编辑  收藏  举报