Java Programming tool installation in Win7

Source: Internet
Author: User

First, download Java

Official address: http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html

Java SE Runtime Environment 8 update 114 for Windows JDK6 32/64 latest Java Run environment download: http://www.downcc.com/soft/info/13852.html

Second, install Java

The installation process is recommended to always click Next, because there may be plug-ins or ads, also easy to set up later environment variables.

Third, set environment variables

Win7 's environment variable settings are similar to XP, right click on "Computer"--"properties"--"Advanced system Settings" and then select "Advanced" in System Properties--"Environment variables"

The default Java installation path is C:Program filesjavajdk1.6.0_26

Setting environment variables is the same as XP.

Add Java_home and Classpath two variables and edit path in "System variables"

The Java_home variable value is C:Program filesjavajdk1.6.0_26

The classpath variable value is.; C:Program Filesjavajdk1.6.0_26libdt.jar,c:program Filesjavajdk1.6.0_26libtools.jar (note the first two punctuation marks.; Don't omit it)

Add the following two paths to the last side of the variable value of path; C:Program Filesjavajdk1.6.0_26bin; C:Program Filesjavajdk1.6.0_26jrebin (note preceded by a symbol;)

Set a good environment variable after the basic OK!

Check to see if Java is installed as long as you enter Javac, Java-version, javac in the command prompt, look for the following three commands.

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.