In the Variable Value field, enter your JDK or JRE installation path. JRE_HOME if you installed the JRE (Java Runtime Environment).JAVA_HOME if you installed the JDK (Java Development Kit).In the Variable Name field, enter either:.Click the Environment Variables button.Windows 10 – Search for Environment Variables then select Edit the system environment variables Windows 8 – Go to Control Panel > System > Advanced System Settings Windows 7 – Right click My Computer and select Properties > Advanced
You can also type where java at the command prompt. If you didn't change the path during installation, it'll be something likeĬ:\Program Files\Eclipse Adoptium\jdk-11.0.17.8-hotspot\ or