Detailed configuration steps for Java environment variables

Source: Internet
Author: User

1 Download Jdk.

A official Website: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Originally prepared to share cloud disk, The results of cloud disk sharing Failed. You can only go to the official website to Download.

Download yourself and see what your system is, which explains WinDOS settings. Click on the red circle before downloading, otherwise you cannot download it.

2 Install the Fool installation, remember the installation address on it . Don't set it up and don't change it.

3 Setting java_home:win7 setting environment variables computer right-click----properties----advanced system settings

:

Advanced---environment variable----(see System Change first, variable name "java_home") no------new

Variable name: java_home

Variable value: C:\Program files\java\jdk1.7.0_51//this is the path where you install the JDK

4 Set the path, and find his double-click to edit it.

At the front, add "%java_home%\bin;"  That's All you can do. Do not forget the semicolon, you can copy the value of all the variables to put in Notepad backup.

Don't change anything inside. Set Ok. Be sure to keep it Ok.

5 self in cmd command input: java

The result is as Above. Note that the installation was successful, enter: java-version view your installation Version.

Start to move the bricks ......... ................

Detailed configuration steps for Java environment variables

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.