1. Installing JDK version 1.8
2. Configure Environment variables
D:\Program Files\java\jdk1.8.0_11 (If you change from Jdk7 to JDK8, you can modify the Java_home variable.) )
Java_home:d:\program files\java\jdk1.7.0_55
CLASSPATH:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
PATH:%java_home%\bin;%java_home%\jre\bin;%systemroot%\system32;%systemroot%;%systemroot%\system32\wbem;% Systemroot%\system32\windowspowershell\v1.0\
3. Unzip Eclispe Luna version (support Jdk1.8,tomcat8)
4. Set the Eclipse font capitalization (Colors and Fonts), encode format (utf-8), Java compiler compile level to 1.8,java installed JREs, add jdk1.8 directory.
Server Runtime environments Add tomcat8 directory.
5. Import the project and check out the project from SVN.
6. Project, properties, Project Facets Java selection 1.8 (the project compilation level needs to be consistent with the Eclipse software compilation level, otherwise it will be an error.) )
--------------------------------------------------------------------------------------------------------------- ------------------------------------
Eclipse Kepler supports the JDK1.7,TOMCAT7 version, and each version needs to be matched to make the tool work better.
Eclipse Luna uses jdk1.8 initialization