How to install Java 8 on Microsoft Windows Operating System? Here is the step by step guide.

 Java is a popular programming language that is widely used for creating web, mobile, and desktop applications. Java 8 is one of the most widely used versions of the language and is still supported by many organizations. In this blog post, we will go through the steps to install Java 8 on a Windows operating system.

java 8 windows

Step 1: Download the Java 8 installer

The first step to installing Java 8 is to download the installer from the official Oracle website. Go to the following link: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

Step 2: Run the installer

Once the download is complete, double-click the installer file to begin the installation process. Follow the prompts to install Java 8 on your system.

Step 3: Verify the installation

After the installation is complete, you can verify that Java 8 is correctly installed on your system by opening a command prompt and running the following command:

java -version

You should see output similar to the following:

java version "1.8.0_xx" Java(TM) SE Runtime Environment (build 1.8.0_xx-bxx) Java HotSpot(TM) 64-Bit Server VM (build xx.xx-bxx, mixed mode)

In order to run the java command from any location in the command prompt, you need to update the system variables. Go to the Advanced System Settings -> Environment Variables -> System Variables.

In the System Variables section, scroll down and find the variable named Path.

  1. Click Edit.
  2. Click New and enter the path of the java installation directory.
  3. Click OK to save the changes.

You should now be able to run the java command from any location in the command prompt.

Congratulations! You have successfully installed Java 8 on your Windows operating system. You can now start developing Java applications and take advantage of the many features that the language has to offer.