You are on page 1of 6

Dhruvik Tank 206170307025 JAVA PROGRAMMING

Practical 1: Download and Install Java Development Kit (JDK)

 Step 1: Download JDK file


To download the Java Development Kit (JDK), Open your
web browser and go to this address:
https://www.oracle.com/java/technologies/downloads/#jdk18-

windows
Now choose your version of Java for windows to proceed
with downloading the JDK executable file.
 Step 2: Install JDK File
In this step, run the executable JDK file.
To begin the installation, we need to double-click on the
downloaded file and we will be presented with this
window.

1|Page
Dhruvik Tank 206170307025 JAVA PROGRAMMING

Click on Next to Proceed with the installation and follow the


Installation guide.

Click on the Close button once the installation has finished.

2|Page
Dhruvik Tank 206170307025 JAVA PROGRAMMING

 Step 3: Set path of JDK directory.

Go to MyComputer properties

Click on the Advanced Tab

Click on environment variables

3|Page
Dhruvik Tank 206170307025 JAVA PROGRAMMING

Click on the new tab of user variables

Write the path in the variable name

Copy the path of bin folder

4|Page
Dhruvik Tank 206170307025 JAVA PROGRAMMING

Paste path of bin folder in the variable value

Click on ok button

 Step 4: Verify the Java Installation

Open the Command Prompt using Windows + R and enter CMD


command & press OK.

5|Page
Dhruvik Tank 206170307025 JAVA PROGRAMMING

Now enter command “javac”, and if it runs as presented


window, that means Java installed successfully.

6|Page

You might also like