Select Path under System Variables and click on the New button to set path for the Java and enter %JAVA_HOME%\bin as shown in the image below:.
![java openjdk 11 windows installer java openjdk 11 windows installer](https://i.ytimg.com/vi/a7rbMZWrHsM/maxresdefault.jpg)
Browse and select the Java installation directory in the Variable value field as shown in the example below: Enter JAVA_HOME in the Variable name field.On the System Properties window, click Environment Variables button.Type env in the search bar and click on the shortcut that says "Edit the system environment variables." You can find this shortcut by referring to the image below:.Now, set up an environment variable for Java.Once you have downloaded the file, you need to extract it and move it to the C: drive inside the Program Files directory.Click on that link to start the download.
![java openjdk 11 windows installer java openjdk 11 windows installer](https://androideity.com/img/java/88/download-install-openjdk-11-windows-10.jpg)