2. Building Java Development environment

Source: Internet
Author: User

The first step : To install the JDK:

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

Note the version ( depending on the computer ), the installation path optional, to remember the path, after the use (the installation process omitted)

Under Installation path: * The bin directory is an executable file, mainly used by Javac.exe and Java.exe

* Lib Directory is a class library file at Java development,. Jar End

Step two : To Configure environment variables:

Variables that need to be configured: * Java_home: Configuring the JDK installation path

* PATH: Configure JDK command file location, both bin

* CLASSPATH: Configure the Class library file location, both Lib

Configuration method: My Computer (right-click)--Properties -- Advanced system Settings- - environment Variables -- system variables

1,java_home need to create a new,java_home for the variable name,JDK Installation path is the variable value

2, path itself has, add can, The path of the bin directory is the variable value, put in the front end, with a semicolon separated from the following path

3,CLASSPATH also need to create a new, variable value for the path of Lib , for .; F:\JDK_Soft\lib, (comma does not count) This is my path,

Note the preceding dots and semicolons

Then make sure you can

As shown below:

Verify success:

   Open a command-line file (that is, cmd), execute Java and Javac, and if a bunch of similar descriptions are present, the configuration succeeds.

2. Building Java Development environment

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.