Install java programming tools in win7

Source: Internet
Author: User
Tags java runtime environment download java se

Install java programming tools in win7

1. 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 Runtime Environment download: http://www.downcc.com/soft/info/13852.html

Ii. install java

We recommend that you keep clicking Next during the installation process, because there may be plug-ins or advertisements, and you can also set environment variables in the future.

3. Set Environment Variables

The environment variable settings for win7 are similar to those for xp. Right-click computer> Properties> advanced system settings and choose advanced> environment variable from system properties]

The default java installation path is C: Program FilesJavajdk1.6.0 _ 26.

Set the environment variable to be the same as that of xp.

Add the java_home and classpath variables in the [system variables] and edit the path

Java_home variable value: C: Program FilesJavajdk1.6.0 _ 26

The variable value of classpath is.; C: Program FilesJavajdk1.6.0 _ 26libdt. jar, C: Program FilesJavajdk1.6.0 _ 26libtools. jar (pay attention to the first two punctuation marks.; Do not miss out)

Add the following two paths to the end of the variable value of path; C: Program FilesJavajdk1.6.0 _ 26bin; C: Program FilesJavajdk1.6.0 _ 26 jrebin (note that there is a symbol above ;)

After the environment variables are set, they are basically OK!

Check whether java is installed. You only need to input the javac, java-version, and javac commands in the command prompt to check whether the following results are correct.

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.