First lesson Java Development environment Configuration

Source: Internet
Author: User

To install the Java environment First jdk1.7 deployment, note should be placed in a directory without Chinese and white space, and then configure environment variables, configuration environment variables are divided into three steps:

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

2. New System variables Java_home and Classpath

Variable name: java_home
Variable Value: D:\Java\jdk1.7.0_60_x64

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

3. Select the environment variable named "path" in the "System variables", double-click the variable, add the absolute path of the bin directory in the JDK installation path to the front of the value of the path variable, and delimit the semicolon with the half-width and the existing path.
Variable name: Path
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

(Simply say the 3rd step is to create a new environment variable named: path

Variable value:%java_home%\bin;%java_home%\jre\bin; directly in front of the value of the original variable)

After modifying the environment variable, you can click "Start"-"All Programs"-"accessories"--"Run", enter "cmd" in the pop-up window to appear the Test window, enter "JAVA" Test in the Test window.

First lesson 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.