![]() 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:.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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |