tomcat,jdk,maven环境变量配置(备忘)

来源:转载

环境变量:CATALINA_HOME (tomcat安装目录)G:/PC-tools/tomcat_6.0.26 

CATALINA_BASE

G:/PC-tools/tomcat_6.0.26 

CLASSPATH (注意开头是.;)

.;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar;%CATALINA_HOME%/common/lib/servlet.jar;

JAVA_HOME(jdk安装目录)

C:/Program Files/Java/jdk1.6.0_18

M2_HOME(maven安装目录)

G:/PC-tools/apache-maven-2.2.1

 

Path (在Path尾部加入以下字符串)

%JAVA_HOME%/bin;%JAVA_HOME%/jre/bin; %M2_HOME%/bin;

分享给朋友:
您可能感兴趣的文章:
随机阅读: