1.下载jdk-8u60-windows-i586.exe;安装过程会让指定jre的安装路径,此处最好指定和jdk安装一个目录下(D:Program FilesJavajdk1.8.0_60,D:Program FilesJavajre);
2.添加java环境变量
JAVA_HOME D:Program FilesJavajdk1.8.0_60
CLASSPATH %JAVA_HOME%lib ools.jar;%JAVA_HOME%libdt.jar
在path现在有的变量后添加 ;%JAVA_HOME%in;%JAVA_HOME%jrein
3.下载apache-tomcat-8.0.26-windows-x86.zip 安装web服务器。zip直接解压缩,D:Program Filesapache-tomcat-8.0.26
添加环境变量
TOMCAT_HOME D:Program Filesapache-tomcat-8.0.26
在CLASSPATH后面添加 ;%TOMCAT_HOME%libservlet-api.jar
启动TomCat startup.bat
http://localhost:8080/
4.下载eclipse-jee-mars-R-win32.zip。解压缩,不需要安装,启动的时候需要指定wordspace地方。