Getting Started with Java the first step: building a Java environment

Source: Internet
Author: User

Configuring the installation and environment variables configuration for the Java development environment--JDK

Download JDK, the latest version of JDK 1.8 on line, download the connection itself Baidu, remember to install the corresponding version of your machine, 64-bit operating system download 64-bit, 32-bit operating system 32-bit.

Configure environment variables such as:

Click New, enter the variable name java_home, and the variable value for your Java installation directory (for example C:\Program files\java\jdk1.7.0_80) is as follows:

After setting, select Path this variable click Edit, add Java_home to the following:

The environment variable is now configured.

What is an environment variable?

Environment variables are for the system to indicate what a command is called to parse, such as when we call the Java command in the console, if you do not configure environment variables, will tell you that the Java command cannot be found, after configuration, The system will go to your configured directory to find the appropriate program to execute this command (the new version of Java in Windows can not match, but preferably with), the current Java configuration environment variables do not need to restart.

Getting Started with Java the first step: building a Java environment

Related Article

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.