1.JAVA_HOME环境变量:C:Program FilesJavajdk1.8.0_45
2.CLASSPATH环境变量:%JAVA_HOME%libs ools.jar;%JAVA_HOME%libsdt.jar
3.PATH环境变量:%JAVA_HOME%in;
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