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!