If you are getting started with Java Programming. And you don’t know How to Install Java JDK 11 on Windows 10. Then in this article, you’ll find everything you needed for Java Programming. From installing Java JDK 11 and setting up the environment variable for Java development.
How to Install Java JDK 11 on Windows 10?
Before installing Java JDK 11, you have to download the Java JDK 11 file. So, here are the complete steps to install Java JDK 11 on Windows 10. Follow these steps:
Step 1: Open any browser and search for Java JDK 11 or simply visit this link https://www.oracle.com/technetwork/java/javase/downloads/index.html
Step 2: On the download page you will find “Download Java Platform (JDK) 11“, just click on download. In order to download the Java JDK 11 file, you have to accept the License Agreement and select your operating system. It will download a .exe file.
Step 3: After completing the download, just click on the .exe file and it will open installation wizard. And install the software as you install other software. (You can watch the video mentioned above, it contain a full tutorial on how to download and install Java JDK 11 on Windows 10).
Step 4: By just downloading and installing Java JDK, Java will not work for that we have to set an environment variable. For that follow the next steps.
Step 5: After completing the installation process you will find a Java folder under your Program Files in your C Drive. There you will find a folder named Java, inside that folder, you’ll get your JDK 11 folder. So, you have to set an environment variable for this folder to compile your java file. To set the environment variable
Go to Control Panel > System and Security > System > Advanced System Setting > Environment Variables
or you can watch the video provided above for a better idea.
Step 6: Now after completing the installation process and setting up the environment variable. Just open the command prompt and type javac to find out whether the javac compiler (javac is a compiler which helps you to compile your java file) is properly working or not. If you find a bunch of statement in command prompt then Java JDK 11 is fully installed on your system.