"Java Series" Java Development environment construction

Source: Internet
Author: User

Describe

This article focuses on building a Java development environment based on Windows 10 system, the main contents are as follows:

(1) Installation Information preparation

(2) Explain the installation process

(3) test whether the installation is successful

(4) Hello Word Test

1 Mounting Material preparation

Before the Java development environment is built, you need to prepare the JDK and eclipse.

1.1 JDK

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

1.2 Eclipse

: http://www.eclipse.org/

2 installation Process Explained

JDK Installation (remember the installation of the road, in the environment variable configuration required) and Eclepse are all part of the idiot-type one-click installation, here is skipped, a general explanation of the Windows 10-based system environment variable configuration.

Configure three environment variables: Home,classpath,path

Add Java_home variable

Install the JDK path: "C:\Program Files (x86) \java\jdk1.8.0_144"

Java_path Variable Configuration

If there is a path variable, add the following header: "%java_home%\bin;%java_home%\jre\bin;", if it does not exist, create a new variable path and add "%java_home%\bin;%java_ Home%\jre\bin;"

Java_classpath Variable Configuration (if you use more than 1.5 versions of the JDK, you can compile and run the Java program without setting the CLASSPATH environment variable.) )

Add Java_classpath Variable Value ".; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;"

3 test whether the installation was successful

Win+r, input cmd

Type the command: java-version,java,javac Several commands, the following message appears, indicating that the environment variable configuration is successful;

Enter Java-version (test JDK is installed successfully)

Input Java

Input javac (test environment variable is configured successfully)

4 Hello Word Test

Slightly.

5 Copyright Area

    • Thank you for your reading, if there are shortcomings, welcome advice, common learning and common progress.
    • Bo main website: http://www.cnblogs.com/wangjiming/.
    • A very small number of articles using reading, reference, reference, copying, copying and pasting into a variety of ways, most of the original.
    • If you like, please recommend, if you have new ideas, welcome, email: [Email protected].
    • The blog can be reproduced, but must be well-known from the blog source.

"Java Series" Java 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.