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

你可能感兴趣的:(java)