Configuring Java Environment variables under windows

Source: Internet
Author: User

    • Download the JDK 1.7 installation package


  1. To successfully configure Java environment variables, it is necessary to install the JDK in order to start the configuration.

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 60c9877976094b36db921bed93cd7c00/bd315c6034a85edfdcd5878549540923dd54753e.jpg "style=" border:0px; "/>

  2. 2

    Install the JDK Wizard for related parameter settings.

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" Https://imgsa.baidu.com/exp/w=500/ Sign=37f1ef4f7d1ed21b79c92ee59d6fddae/aec379310a55b3195ba1fcc843a98226cffc1736.jpg "style=" border:0px; "/>< Span class= "Exp-album-enter-mask" style= "Background:rgb (51,51,51);" >

    650) this.width=650; "class=" Exp-image-default "alt=" Configure Java environment variable "src=" https://imgsa.baidu.com/exp/ W=500/sign=7d5bf4987bec54e741ec1a1e89399bfd/d009b3de9c82d15890db2017800a19d8bc3e423e.jpg "style=" border:0px; >

  3. 3

    Installing the relevant features of the program,

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 0b837a472f2eb938ec6d7af2e56385fe/d058ccbf6c81800a46bcf0a8b13533fa828b473e.jpg "style=" border:0px; "/>

  4. 4

    Select the path of the installation, either custom or default path.

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 38ae7256b6fd5266a72b3c149b199799/1f178a82b9014a904f663800a9773912b31bee37.jpg "style=" border:0px; "/>

  5. 5

    After the successful installation, the test is really successful installation, click "Start"----"Run"----input CMD, enter "Java-version" at the command prompt and press ENTER to appear, that is, the installation is successful.

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 979ad5b3bc315c6043956befbdb0cbe6/3ac79f3df8dcd100cdc58187728b4710b9122f3e.jpg "style=" border:0px; "/>

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 1ca2eb79ce1b9d168ac79a61c3dfb4eb/fc1f4134970a304e4f7bd95cd1c8a786c9175c3e.jpg "style=" border:0px; "/>

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= Fe30d878f01f3a295ac8d5cea924bce3/c8177f3e6709c93d02ab77519f3df8dcd100543e.jpg "style=" border:0px; "/>

  6. 6

    Start configuring environment variables, right-click My Computer---properties-----advanced---environment variables,

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= D42adeced109b3deebbfe468fcbe6cd3/c2fdfc039245d688565bcb02a4c27d1ed21b243e.jpg "style=" border:0px; "/>

  7. 7

    select "New system Variable"--Popup " New System Variable dialog box, enter Java_home in the Variable name text box, enter the installation path for the JDK (that is, the folder path for step 5) in the Variable Value text box, click the OK button,

    650) this.width=650; "class= "Exp-image-default" alt= "config Java environment variable" src= "https://imgsa.baidu.com/exp/w=500/sign= 556dff489c82d158bb8259b1b00b19d5/9345d688d43f879420a63188d21b0ef41bd53a3e.jpg "style=" border:0px; "/>

  8. 8

    650) this.width=650; "class=" Exp-image-default "alt=" Configure JAVA environment variable "src=" https ://imgsa.baidu.com/exp/w=500/sign=687fb78e9245d688a302b2a494c37dab/ Faedab64034f78f05cb4e44e79310a55b2191ccb.jpg "style=" border:0px; "/>

  9. 9

    View the CLASSPATH variable in the system Variables options area, and if it does not exist, create a new variable classpath, otherwise select the variable, click the Edit button, and add "in the start position of the Variable Value text box."; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; ".

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 563c80296c81800a6ee5890e813433d6/8694a4c27d1ed21b89905743ad6eddc451da3f3e.jpg "style=" border:0px; "/>

  10. 10

    The configuration of the test environment variable is now successful or not. Enter "JAVAC" in the DOS command line window and the output Help information is configured correctly.

    650) this.width=650; "class=" Exp-image-default "alt=" Configure the Java environment variable "src=" https://imgsa.baidu.com/exp/w=500/sign= 77a632bc0a55b3199cf9827573a88286/1c950a7b02087bf4d2b42954f2d3572c11dfcf37.jpg "style=" border:0px; "/>



This article is from the "12336621" blog, please be sure to keep this source http://12346621.blog.51cto.com/12336621/1922136

Configuring Java Environment variables under windows

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.