In this tutorial, we will discuss about how to install Java 10 on Windows 10. The steps should be the same for older versions of Windows.
Step 1: Let's check whether Java is already installed. To do so, open the command prompt and type java—version, as shown in Fig. 1. It shows that Java is not installed.
Step 2: Open the download link to select the available versions, as shown in Figure 2. Accept the License Agreement and click on the Windows executable file to start the download.
Step 3: Double-click the downloaded file to start the installation. In Windows 10, it asks for system permission before starting the installation. Click on Yes to allow the installer to execute. It shows the installer welcome screen, as displayed in Fig 3.
Step 4: Click on Next to initiate the installation process. The next screen shows options to select optional features to be installed together. Leave the default options without making any changes. We can also change the installation location on this screen if required, as displayed in Fig 4.
Step 5: Now click on the Next Button to start the installation. The progress will be displayed in Fig 5.
Step 6: The installer will also ask you to choose the location of the JRE, as displayed in Fig 6. The JRE path selection screen also asks whether we need to enable Java Content in the Browser. We can keep it on to run Applets in the Browser.
Step 7: Click on the Next Button to start the JRE installation. It will show the progress, as mentioned in Figure 7.
Step 8: It shows the success screen after completing the installation, as mentioned in Fig 8.
Step 9: Now open the Command Prompt and type the command java -version to confirm whether it's installed successfully, as mentioned in Fig 9.
Summary
We have successfully installed Java 10 on Windows 10 by following the above-mentioned steps.