To build a SQL Server database connection:
Add an external JARs (add External JARs), select the left Java build path, class library (libaries), right-click Project Test, properties
Copy all of the following configuration symbols-----, or you will get an error
JDK Configuration:
First go to the Niang download JDK, and then install. It's not going to be an address, you might not find it.
1, right-click My Computer, properties, advanced system settings, environment variables
2, find classpath not on the new variable value for.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
3. Find Java_home No same new variable value is C:\Program files\java\jdk1.8.0_91 (JDK installation path)
4. Find path No or add new%java_home%\bin;%java_home%\jre\bin at the top of the variable value;
Verify run cmd input javac run as
Input java-version Run as:
The above interface shows that the JDK configuration was successful.
Configure Tomcat----Below
Tomcat configuration:
First go to the Niang download JDK, and then install. It's not going to be an address, you might not find it.
1, right-click My Computer, properties, advanced system settings, environment variables
2, find catalina_base not on the new variable value is D:\Tomcat6.0.26 (Tomcat installation path)
3, find catalina_home not on the new variable value is D:\Tomcat6.0.26 (Tomcat installation path)
4, find the path in the variable value of the bottom plus;%catalina_home%\lib;%catalina_home%\bin;
To this tomcat, the configuration is complete.
Browser input http://localhost:8080 If there is no error, the installation is correct
The environment configuration of the Java temperature series