1. Install jdk, download address: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Figure:
2. Click installation, the installation is complete, configure the environment variables, environment variables, configuration is as follows, for example to win10