In this article we will learn how to install Java in Windows 10.
We are considering that Java is not installed on your system. But if you have a little confusion, you can confirm by following this step.
Press windows logo + r and a popup window will open and type cmd there and press Ok button.
We hope the command prompt is open, then type java -version in cmd and press Enter, if it shows Java version which means Java is already installed on your system, or shows the image below this means Java is not installed on your system.
So if you want to install Java on your system, please follow the steps below.
Step - 1
Download Java for Windows 10.
Download the java installation .exe file from Oracle website, and Java 17 is the latest version at the time of writing this article.
Download Link :- https://www.oracle.com/java/technologies/downloads/
There are three files in Windows section, .zip, .exe, .msi file but we will only download .exe file so click on it.
Step - 2
Install Java on Windows 10.
After successfully downloading the java .exe file, please locate the file and double-click on it. Once the Java Installation Wizard opens, click on the Next button as shown below.
If we want to install the Java Development Kit in the default directory, click the Next button, and remember the directory. Or you can change this directory by clicking the Change button.
Installation will begin as shown in the image below and will take some time, so wait until it is successfully installed.
You can see that Java has been successfully installed in the image below, then click on the Close button.
This is all about how to install Java, and we hope you have successfully installed Java on your system, Note that Java installation is not a complete setup, there is one more step which is Java Path Environment Setup.
You can set up the Java Path Environment using the steps mentioned in this article.
Read Also :- How to run java in Command Prompt(CMD).
Read Also :- Write a program to check if the given number is prime or not?
0 Comments