The environment configuration of the Java temperature series

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.