Java 0 Basic teaches the method of installing JDK under Windows diagram _java

Source: Internet
Author: User
Tags tomcat server

Website download

Direct Opening official website: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

I installed the 1.7 version, of course, you can choose your own appropriate version.

Installation

To download the. exe file, there is nothing to talk about, it is the next step directly. Of course, you can choose the appropriate installation path, I chose the F:\Java.

Then select the JRE installation path:

Environment variables

On the desktop to find the computer (this computer) right button, click Properties-Advanced system settings-environment variables, you can start editing.

1. First in the following system variables click the New button, add java_home system variables, variable values for you to store the JDK path, such as: F:\Java\jdk1.7.0_79.

2. Then click the New button again, add classpath system variable, the variable value is:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

3. Still in the system variable, find the path variable, edit it, add at the end;%java_home%\bin.

No reboot.

Win+r key to open cmd, typing java-version command

Displays the version of the currently installed JDK, even if it is done. If you have any questions please give me a message, small series will promptly reply to everyone. Here also thank you very much for the cloud Habitat Community website support!

The next article to introduce Java 0 Basic tutorial Windows installation, start the Tomcat server method diagram (free of installation version), interested friends please pay attention to cloud Habitat community website!

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.