comeJDK Official Download Interface, find the JDK download behind Java se 8 (JDK 8 for short), come to the interface, agree to the protocol first, and then download the JDK of the corresponding platform. Here we download windows x64.
Double click the installation, and basically go to the next step directly; When the JDK is successfully installed, JRE does not need to be installed.
Configure environment variables
Configure the JDK executable into path so that you can use these commands on the command line.
After installation, go to the terminal and check the JDK version:
If the output is as follows, the installation is successful:
java version "1.8.0_261" Java(TM) SE Runtime Environment (build 1.8.0_261-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.261-b09, mixed mode)
This article also providesSupporting videoTutorial, 1-to-1 Q & a service.