Open Command Prompt (make sure you Run as administrator so you're able to add a system environment variable).If you would prefer to set the JAVA_HOME (or JRE_HOME) variable via the command line: Set the JAVA_HOME variable via the command line If the changes don't take effect after reopening the command window, restart Windows. You'll need to close and re-open any command windows that were open before you made these changes, as there's no way to reload environment variables from an active command prompt. 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: If the download has completed satisfactorily - there are checks one can make, detailed on the download page below the selection mechanisms - click on 'How to verify the download' - but a quick (and dirty) check is that the downloaded file is about the correct size close to 135MB for enUS Windows version, then the 'unable to find/extract setup.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