Windows下JDK,Tomcat,Eclipse安装配置

1.JAVA_HOME环境变量:C:\Program Files\Java\jdk1.8.0_45

2.CLASSPATH环境变量:%JAVA_HOME%\libs\tools.jar;%JAVA_HOME%\libs\dt.jar

3.PATH环境变量:%JAVA_HOME%\bin;

4.Tomcat的配置参见说明文档,主要要设置CATALINA_HOME环境变量,为tomcat所在目录

5.Eclipse要使用eclipse for j2ee或者使用MyEclipse

6.JRE->JDK  

  Window->Preferences->Java->intalled JREs->Add-> ->安装的JDK->finish

7.Eclipse中配置Tomcat

  Window->Preferences->Server->Runtime Environments->Add

8.编码方式

  Window-》Preferences->General->Workspace->Text file encoding->Other

 

posted @ 2015-09-06 20:00  Rayvin  阅读(158)  评论(0编辑  收藏  举报