Java Environment Configuration

Source: Internet
Author: User

LAVA

One: Configure JDK

A) obtain a compressed package or installation package

1: Version:1) Sub -position and system matching

2) do not lower than 1.7, currently the latest version 1.9

2: Do not bring Chinese in the installation directory

II) Configuring Environment variables

1: Role: provide JAVA users with The location information of the JDK

2: System environment variable:1):java_home ( all caps ) =jdk directory (to the catalogue under DIN)

2): PATH(already exists), added in front:%java_home%\bin;%java_home%\jre\bin;

III) Testing in the command window

1: Three methods:1): Open Command Window, execute JAVA type cmd in Run

2): Press shife to right-click in a directory in Resource manager

3):windows+r

2: After you modify the environment variable, you need to reopen the command window to take effect

II: Development Tools

A)Eclipse 1: Version 1) divided into three and four

2: Development and Operation based on JAVA type

3: is an open source, component-type, generic tool software

4: Chinese 1):Http://www.eclipse.ore/babel Select the corresponding

2): Recommended Online upgrade Method

Environment Configuration variables:

Special note: JDK and Eclipse saved paths cannot have Chinese characters

1. Open My Computer--Properties--advanced--environment variables

2. New system Variable Java_home

Variable name: java_home
Variable value: The directory of the JDK, such as D:/java

3. Select the environment variable named "Path" in "System variables"
Double-click the variable to add the absolute path of the bin directory in the JDK installation path to the value of the path variable, separating it with the semicolon of the half-width and the existing path.

Variable name: Path
Added variable value:%java_home%\bin;%java_home%\jre\bin;

This is the Java environment configuration, the configuration is completed directly after the eclipse, it will automatically complete the configuration of the Java environment

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