Computer environment variable Configuration those things!

Source: Internet
Author: User

I believe a lot of friends in the first time to configure the environment variables are very disturbed, for fear of their own computer to make any problems.

Today 郝忈 to share with you how to configure environment variables on your computer, primarily the JRE and JDK environment configuration:

The first step is to download the required installation package:

郝忈 to the need to install JDK friends have been in the Baidu cloud disk storage, click the link to download it:

http://pan.baidu.com/s/1boCwU67

Download a good understanding of the press out is not such a picture

The next step is to double-click Install

After the download is ready, it is installed:

The immediate next step is just fine:

Here I was recommended not to change, the direct installation is good, believe that their own computer, you as long as not disorderly point, always point "next" can be installed. Know that the final finish begins to enter--Configure environment variables

This time to look at their own computer, look at the path, you can find such a folder, remember this path, a configuration will be used.

(Because my computer is already installed, so I'll show you how to configure the environment variables directly)

Here you will find a general configuration method:

CLASSPATH
%java_home%\lib;%java_home%\lib\tools.jar;

Java_home
C:\Program files\java\jdk1.8.0_101

PATH
%java_home%\bin;%java_home%\jre\bin;

(One will be easy to configure, can be copied here)

We look at these three directories : Classpath, Jaca_home, PATH, respectively. The so-called configuration environment variables are configured with these three:

Mine is the WIN10 system, Win7 can imitate, basically the same (this computer----> properties)

Then go to advanced environment settings. The configuration is configured here

Click Environment variables to enter,

The system variables are configured.

First cloth: Create a new classpath

I directly to the above to everyone to write these, can be found from above, directly paste it, to avoid mistakes.

Step Two: Create a new Java_home

Method Ibid.:

Step Three: PATH:

This doesn't need to be built, you can find it.

Edit here:

Here, three will be configured, then only need to make sure that the computer on the full point on it.

PS: Be sure to make the whole point.

Last step: See if the installation was successful:

This is the version number of the JDK: command is java-version (with spaces in the middle)

This is to see if it's a successful fit.

The command is Javac.

If this occurs, the installation is successful. Congratulations to you.

Computer environment variable Configuration those things!

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.