Java Runtime Environment configuration and installation

Source: Internet
Author: User

1. First download the SDK from sun

2 and then pressurize it to the root directory.

3. Click "Install" to select your own installation directory.

4. For environment variable configuration, click my computer Properties Advanced environment variable, and then double-click path in the environment variable. Then, add the installation directory under your Java SDK.

For example, here I am adding c: \ Program Files \ Java \ jdk1.6.0 _ 10 \ bin to the end.

5. run Java-version in the command line to view your Java version.

6. Write a small program Hello. Java to compile with javac

7. execute Java hello

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.