Java environment to build windows

Source: Internet
Author: User

Windows builds a Java environment

1. Download the Java Development Tools JDK installation package

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

Click to jump to next page

Select the desired version download

Download complete, install yourself next, select the appropriate installation address. We installed here in the E:\Java\jdk1.8.0_131 location,

Here I originally was the java8 version, and now the latest is JAVA9, the demonstration process has not been replaced.

Configuring Java Variables

1. Because most Windows computers are now win10. Here is the basic WIN10 demo, which should be the latest version Win10

Open a file management at any

To find this computer, right click on the button, select Properties to enter

Select "Advanced System Settings"

。

Select "Environment Variables"

Set 3 properties in "System variable", Java_home,path,classpath (case does not matter), if already exist then click "Edit", not exist then click "New".

1. Variable name:java_home

Variable value: (to be configured according to your actual path)

E:\Java\jdk1.8.0_131

2. Variable name:CLASSPATH

Variable Value: (Remember there is a "." in front of it,

3. Variable name:Path

Variable value: (This direct copy is possible)

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

Test whether the JDK was installed successfully

Open cmd input

Java-version

Java environment to build windows

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.