JDK Configuration:
1. JDK Configuration
Install JDK1.70 (Note version issue), Environment configuration:
1. Java_home:c:\program files\java\jdk1.7.0
2. CLASSPATH:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar
3. Path, variable value:.; %java_home%\bin
Registry configuration (no use)
HKEY_CLASSES_ROOT found the. Jar entry, there is a string data jarfile, and then find the Jarfile item, there is a string data in the Hkey_classes_root\jarfile\shell\open\command item With a value of "C: \program Files\java\jre6\bin\javaw.exe"-jar "%1"%*, which is the open parameter, "C: \program Files\java\jre6\bin\javaw.exe" It's your own JAVAW path.
-------------------------------------------------------------------
Tomcat environment variable Configuration
catalina_home:d:\apache-tomcat-7.0.57
CLASSPATH:%catalina_home%\lib\servlet-api.jar
Path:;%catalina_home%\bin;
MySQL configuration:
1. Install MySQL
2. Configure Environment variables
--------------------------------
Eclipse Configuration JDK and Tomcat
Window--preferences
Java Development Environment Configuration