How to Install JAVA JDK in Windows, MAC Computer/Laptop

Today JAVA has become the most used software for computer. If you are a software developer then you will need JAVA software. because today all the developer are working on JAVA Programming Language and if you have to run any coding or software related to JAVA then you need Install JAVA JDK or JRE on your Computer/Laptop.Install JAVA

Both of these JAVA JDK and JRE are available for Windows, Linux, Ubuntu and MAC operating systems. In this Blog-Article you will learn to download and install JAVA JDK and JRE properly on your Computer/Laptop.

Requirement for JAVA JDK/JRE

As I mentioned, JAVA can be installed on different operating systems, but each of these operating systems has different requirements, so you can read the requirement for your operating system from below.

[table id=6 /]

Method 1. How to Install JAVA on Windows

Step 1. Download JDK

First you have to Download JDK. To download, you have to download according to your computer’s architecture. If your architecture is 32-bit then download 32bit JDK and if your architecture is 64-Bit then you have to download JDK 64-BIT.

Download JAVA 32-BIT

Download JAVA 64-BIT

[adinserter block=”4"]

This java is installed on your PC’s C: drive. If you want to change its location then you can. But I would recommend that you install it in C: drive. Once installed, it will be installed in this location.

Step 3. Configure JAVA JDK Environment Variable Path

After installing, you need to Update the Environment Variable in the Windows System. If you do not do this, JAVA JDK will not work on your computer.

To edit PATH, you have to follow the below instructions carefully.

  1. To do this you have to go to this location C:\Program Files\Java\JDK\bin and Copy above line from your PC.
  2. Now you have to go to this location“Control Panel”> System and Security> System> Click “Advanced System Settings”.advance-system-environment-variables
  3. In “Advanced System Settings” you have to go to Advanced tab and select the Environment Variables option.advance-system-environment-variables
  4. In the Environment Variables, you have to Click on the “New” button and make a new variable with the ‘NAME’ of JAVA_HOME and In ‘VALUE’ = Paste the Line that you copy in 1. “C:\Program Files\Java\jdk10802_201\bin”.environment-variables
  5. Once your Name and Value is set, Click on Done button.

Done Now you can use Java on your Windows Computer/Laptop

Method 2: How to Install JAVA on MAC

  1. First of all, you have to Download JAVA JDK file for MAC.
  2. After downloading, you have to run the file using the mouse.
  3. Now, You have to click on the Java Icon.double-click-on-install-icon
  4. You will now see the Welcome screen which is to click on the next button from below. As shown in the lower picture.Next-button-java-mac
  5. After ‘JAVA‘ installation is complete, you have to press the close button from the bottom.install-java-on-mac
  6. Done, Now you can use your MAC with JAVA environment.

2 Comments

Add a Comment

Your email address will not be published. Required fields are marked *