Java environment configuration -- JDK 8 and java environment JDK 8

Source: Internet
Author: User

Java environment configuration -- JDK 8 and java environment JDK 8

Download the latest jdk version from the official website.

Test version: jdk-8u60-windows-x64.exe

Test environment: Windows Server 2012 R2 Standard X64

During installation and installation, four paths are selected: the first two are java8, and the last two are jdk1.8.

During the first two installations, you may encounter the Windows installer coordinator pop-up window showing the progress bar for the first installation in an infinite loop. However, it does not affect the installation. Cancel this progress bar and continue the installation.

After installation, configure the environment variables:

1. Right-click my computer and choose Properties> advanced system Settings> edit path in system variables.

Edit this environment variable to configure the jdk path to the beginning of the path. Note that you must add the following points when configuring the jdk path. For example:; D: \ Program Files \ Java \ jdk1.8 \ bin; when I first started the installation, it was a pitfall. The error is that when I run javac in cmd, the system prompts that it is not a system command or that the jdk is not configured successfully. the Windows installer coordinator error reported when Java 8 was installed twice in the process has not been found, if any hero knows, share it with you, or wait for me to study it and share it with you!

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.