Java development environment built under Windows system

Source: Internet
Author: User

First we need to download the JDK (Java Development Kit), the JDK is the core of the entire Java development, it contains the Java Runtime Environment, Java tools and Java foundation of the class library.

: http://www.oracle.com/technetwork/java/javase/downloads/index.html

After the download and installation is complete, and does not directly compile the Java original program we wrote, next we need to configure the environment variables to tell the computer to execute the path of the application.

Environment variable Configuration method:

    • Open My Computer and follow the sequence of actions: right--Properties--Advanced system settings--advanced--environment variables

    • After selecting the environment variable, we can see the following interface, and then select "System Variable-new", the new system variable will pop up the dialog box, enter the variable name "Java_home", enter the JAVA installation path in the variable value, click OK;

    • After the previous step, continue to double-click on the path in the environment variable, will pop up the "Edit environment variable" dialog box, click "New", enter the following: "%java_home%/bin", then click OK, JAVA environment variable Even if the configuration is completed ^_^.

Verify that the environment variable is configured successfully

After the above steps, we want to know if we have successfully built a Java development environment, so we enter the DOS window, respectively, enter Java, Javac, java-version, see if there is similar display content.

    • Enter Java;

    • Input javac;

    • Input java-version;

If you see the above, then, congratulations, your Java development environment has been built successfully ^_^.

Java development environment built under Windows system

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.