Java Development Environment Configuration (WIN8 64-bit)

Source: Internet
Author: User
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.

Configuring Environment variables

1. After the installation is complete, right-click on "My Computer" and click "Properties";

2. Select the "Advanced" tab and click on "Environment variables";

Then it will appear as shown in the screen

Set 3 properties in "System Variables", Java_home,path,classpath, click "Edit" if it is already present, then click "New" if it does not exist.

The 3 key variable names and attributes are as follows:

  • Variable name: java_home
  • Variable Value: C:\Program files\java\jdk1.7.0
  • Variable name: CLASSPATH
  • Variable value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; Remember, there's a "." in front.
  • Variable name: Path
  • Variable value:%java_home%\bin;%java_home%\jre\bin;
Test whether the JDK was installed successfully

1, according to Win+r; "Run", type "cmd";

2, type the command "java-version" command, appear screen, indicating that the environment variable configuration is successful;

Java Development Environment Configuration (WIN8 64-bit)

Related Article

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.