Configuration of Java Environment variables

Source: Internet
Author: User


The Java language environment is built:
1. Clear what is IRE,JDK (JRE Java Runtime, with virtual machine JVM)
2. Download the JDK
3. Installing the JDK
4. Configure Environment variables
5. Verify that it is successful

(Java program developed with JDK, to be run by JRE)
To configure an environment variable step:
Computer (right-click)-Properties-Advanced system settings-environment variables
1. New system variable: java_home
C:\Program Files (x86) \java\jdk1.6.0_10 (your JDK installation path)
2. Modify System Variables: PATH
%java_home%\bin;%java_home%\jre\bin
3. New system variable: CLASSPATH
.; %java_home%\lib;%java_home%\lib\tools.jar (to Add. Indicates the current path)
CMD---java-version

Temporary configuration:
1.set Enter view all environment variables
2.set Path
3.set path haha only valid in the current window
4.set Path = (copy path)
5.set path=haha;%path%
(The environment variable value of the DOS window before start continues)

Configuration of Java Environment variables

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.