Java Installation and Environment configuration

Source: Internet
Author: User

Java installation

The first step

Install Jdk-8u111-windows (choose to install 32-bit or 64-bit depending on the number of digits of the operating system)

Note: The path in English, do not appear in Chinese and space and so on. JDK and JRE are placed in the same folder for easy management

The path to this example is D:\app\Java

Java Environment Configuration

Step Two

My Computer--Properties--Advanced system settings--Advanced tab--environment variables

Step Three

System variables

Variable path--edit (if no path, new)

Add the following path

D:\app\Java\jdk1.8.0_111

D:\app\Java\jdk1.8.0_111\bin

New Classpath

Add the following path

D:\app\Java\jdk1.8.0_111

D:\app\Java\jdk1.8.0_111\lib

Verifying the Java Environment configuration

Fourth Step

Run cmd

In the popup command window, type: javac-version

Display content: Javac 1.8.0_111

Indicates that the Java environment installation configuration is complete.

Java Installation and Environment configuration

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.