Windows server R2 Installing the Java Environment

Source: Internet
Author: User

First, configure the environment


Operating system Package
Windows Server R2 Jdk_1.7.rar

Second, installation operation

1. Right-click to unzip Jdk_1.7.rar and double-click to run jdk-7u79-windows-i586. exe after decompression.

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>650 "this.width=650;" src= " Https://s4.51cto.com/wyfs02/M02/98/73/wKioL1k8kS6yi8eXAACfh9CvpBw758.png-wh_500x0-wm_3-wmp_4-s_3628868756.png " title= "QQ picture 20170611083816.png" alt= "Wkiol1k8ks6yi8exaacfh9cvpbw758.png-wh_50"/>

2. Click "Next" until there is a "change" button, you can change the installation path, after the setup is complete, click "Next".

You can click "Close" to reach this interface, or click "Next Steps".

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/98/73/wKioL1k8k0awrL1EAAC1li4kGRE477.png-wh_500x0-wm_ 3-wmp_4-s_4253672659.png "title=" qq picture 20170611084721.png "alt=" Wkiol1k8k0awrl1eaac1li4kgre477.png-wh_50 "/>

3. Right-click Computer-"Properties"-"Advanced system Settings"-"Environment variables"

650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/98/73/wKiom1k8lT6BknNNAACuJSs5XBI178.png-wh_500x0-wm_ 3-wmp_4-s_1764951923.png "title=" qq picture 20170611085415.png "alt=" Wkiom1k8lt6bknnnaacujss5xbi178.png-wh_50 "/>

4. If the Java environment has not been installed before, click "New" under System variables. The variable named Java_home variable has a value of C:\Program Files (x86) \java\jdk1.7.0_79, and then click "Confirm". (Since I installed the JDK under the C:\Program files (x86) \java\jdk1.7.0_79 file, take this path as an example)

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/98/73/wKioL1k8mlHA9c5EAABBUEqfg3U922.png-wh_500x0-wm_ 3-wmp_4-s_3948589407.png "title=" qq picture 20170611090047.png "alt=" Wkiol1k8mlha9c5eaabbueqfg3u922.png-wh_50 "/>

5. Then find the system variable "Path" and click on the "Edit" button. Add after the value of the variable; C:\Program Files (x86) \java\jdk1.7.0_79\bin; Be sure to keep in mind that each additional bar variable is separated by semicolons. Click "Confirm"

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/98/73/wKiom1k8nqmTDp_gAABB6q20D9c296.png-wh_500x0-wm_ 3-wmp_4-s_836682350.png "title=" qq picture 20170611090236.png "alt=" Wkiom1k8nqmtdp_gaabb6q20d9c296.png-wh_50 "/>

6. Look for an environment variable named CLASSPATH, if there is no new variable named CLASSPATH variable value C:\Program Files (x86) \java\jdk1.7.0_79\lib\dt.jar; C:\Program Files (x86) \java\jdk1.7.0_79\lib\tools.jar; When you are finished, click "Confirm".

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/98/74/wKioL1k8oLriDvCJAABcudfvQnw129.png-wh_500x0-wm_ 3-wmp_4-s_2511727544.png "title=" qq picture 20170611091117.png "alt=" Wkiol1k8olridvcjaabcudfvqnw129.png-wh_50 "/>

Finally, press Win+r to run the input cmd to open the window and enter java-version to test whether the Java environment was installed successfully. If the input java-version command appears as proof that the Java environment was installed successfully.

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/98/74/wKiom1k8oYbDcczoAAAWmRJ9BLo010.png-wh_500x0-wm_ 3-wmp_4-s_3500453714.png "title=" qq picture 20170611091254.png "alt=" Wkiom1k8oybdcczoaaawmrj9blo010.png-wh_50 "/>

Actually, we're not chasing Success , but their own dignity.

This article from "Lucky" blog, reproduced please contact the author!

Windows server R2 Installing the Java 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.