1, download and install the JDK under the path without spaces, otherwise there may be problems under Linux. To configure environment variables:
A, the new system variable--java_home, the value--d:\programming\java\jdk8//Win8 Jo Jian for the user variable is not recognized by the system%java_home%
b, the new system variable--CLASSPAHT, the value ——.; %java_home%\lib;%java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Don't forget the beginning of "."
C, update the environment variable--path or path, add--%java_home%\bin;%%java_home\jre\bin at the end; If there is no semicolon at the end, don't forget to add
d, configuration inspection: cmd under--java-version/java/javac
You can also not create java_home, replace all%java_home% with D:\PROGRAMMING\JAVA\JDK8
2. Download and install Tomcat. Inspection: http://localhost:8080
3. Download and install Eclipse. Configuration:
A, Window-->prefrences-->service-->runtime environment add Tomcat.
B, Window-->prefrences-->general-->web browser--> tick external--> add select default Browser
Javaweb environment Construction and basic configuration