1.JDK the acquisition and installation
Download the JDK and install it on the Oracle website, http://www.oracle.com/technetwork/java/javase/downloads/index.html
such as Windows X64 Jdk-7u51-windows-x64.exe, which contains the JDK and JRE installed together is OK.
After the installation is complete, add the Java environment variable and add the Bin folder under the installation directory to the environment variable;
On the cmd command line, enter the command Javac, and if the screen appears then OK:
2.web Server Tomcat
Download Tomcat http://tomcat.apache.org/index.html on Apache Tomcat website
Download the file Apache-tomcat-8.0.14-windows-x64.zip Direct decompression can be used,
In the Bin folder there are two Windows Startup.bat and Shutdown.bat respectively to start and close Tomcat files, double-click
Startup.bat start Tomcat, enter the http://localhost:8080/in the browser to get the effect, indicating that Tomcat run OK.
3.java Ide-eclipse
Download eclipse from eclipse website http://www.eclipse.org/;
Download complete, after decompression can be used;
4.Eclipse and the Tomcat
Add the Tomcat server to eclipse and run eclipse at Window->preferences->server->runtime environments->add; Add the corresponding Tomcat server;
Next,browse to the Tomcat directory just now.
Finished
Set up Web browsing mode;
Modify JSP file encoding to Utf_8
5. Testing
Create a new Dynamic Web project in eclipse;
Finish
In Project Explorer, under project name->webcontent, right-click to create a new JSP file
Add the Hello World code to the hello.jsp file and click Run on Server;
Results
Java Basic Development environment settings under windows