Java Development Environment Configuration

Source: Internet
Author: User

First install JDK (Java Development Kit Development Kit)

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

After the download is finished click Install (Note: The path can not have Chinese, otherwise there will be inexplicable bug, I think we all understand)

Where you want to put it when you install it;

After the installation is complete, we will configure the environment, of course, does not configure the line, put why to configure, because convenient

(Can see: http://www.cnblogs.com/qq1871707128/p/6046893.html)

Then we click New:

Set 3 properties in "User variable", Java_home,path,classpath (case-insensitive), click "Edit" if it is already present, notice that the semicolon is separated from the previous, and click "New" if it does not exist.

The variable setting parameters are as follows:

    • Variable name: java_home
    • Variable Value: C:\Program files\java\jdk1.8.0_111
    • Variable name: Path
    • Variable value:%java_home%\bin;%java_home%\jre\bin;
    • Variable name: CLASSPATH
    • Variable value:.;       %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Note: This is preceded by a dot '. '

Of course if you do not know the location of the files you installed can be searched like this:

Open the disk you installed, search for jdk1.8.0_111, then double-click Open, then double-click on the bin, right-down properties, copy the link address can be

When we're done, we'll test it. We configured the environment to have no success, command (Window key) +r, and then enter CMD, OK after the input command: java,javac several commands, The information that appears related to usage is the installation environment is successful!

Java Development Environment Configuration

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.