Java Basic Learning Notes-(a) Development environment construction

Source: Internet
Author: User

Configuring the development environment on the Java Development Environment configuration Windows

"One" Download jdk

First we need to download the Java SDK jdk,:http://www.oracle.com/technetwork/java/javase/downloads/index.html, click the download button below:

After downloading the JDK installation according to the prompts, as well as installing the JDK will also install the JRE, installed on it.

Install the JDK, the installation process can customize the installation directory, such as information, such as we choose the installation directory for C:\Program files\java\jdk1.8.0_121.

"Two" Configuration 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".

Variable settings

    • Variable name: java_home

    • Variable Value: C:\Program files\java\jdk1.8.0_121 (This is your JDK's installation path, can be replaced)

    • Variable name: CLASSPATH

    • Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

    • Variable name: Path

    • Variable value:%java_home%\bin;%java_home%\jre\bin;

"Three" tests whether the JDK was installed successfully

    1. "Start"->; " Run, type "cmd";

    2. Type the command "Java-version", "Java", "Javac" a few commands, the screen shows that the environment variable configuration is successful;

"Four" Java development tools

    1. notepad++: notepad++ is a free code editor under the Microsoft Windows environment: http://notepad-plus-plus.org/

    2. Eclipse: Another free, open source Java IDE: http://www.eclipse.org/

    3. IntelliJ idea: Recognized as one of the best Java development tools in the industry: http://www.jetbrains.com/idea/

Java Basic Learning Notes-(a) Development environment construction

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.