First day of Java: Install and build a Java development environment

Source: Internet
Author: User

Java is an object-oriented language. It is through the operation mechanism of virtual machine to realize "cross-platform".

There is not much to say other, to get to the point first, before learning any language before the first step is to build a good development environment, the Java development environment is built as follows:

1, to the official website http://www.oracle.com/technetwork/java/javase/downloads/index.html download the corresponding JDK version

2, install the JDK (recommended to modify the installation location and installation file directory without spaces)

3. Right-click My Computer, select Properties--Advanced--environment variables

New system variable Java_home and path (double-click to modify if it already exists)
Variable name: java_home
Variable Value: D:\Java\jdk1.7.0

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

4, the test environment variable configuration success or not. Enter "Javac" in the CMD Command line window and the output Help information is configured correctly

Note: The role of the CLASSPATH environment variable is to allow the OS to find the commands we use, tell the JVM where to find the Java class that is running, and, after JDK1.5, find the Java class under the current path by default, so you can not configure

First day of Java: Install and build a 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.