DEV Community

Cover image for Install Java on windows 10 in 3 simple steps
Paras Rawat
Paras Rawat

Posted on

Install Java on windows 10 in 3 simple steps

  • Step-1 Download JDK-17
  • Step-2 Install JDK(Java Development Kit)-17
  • Step-3 Set the Environment Path

Lets get started!

Step-1 Download JDK-17

JDK stand for Java Development Kit
Click here to download the file.

Click over the following link
Official oracle website for downloading Java-17

Step-2 Install JDK(Java Development Kit)-17

Install JDK-17 which comes with inbuilt JRE (so don't have to install it separately)

Click next and set your desirable download path.
Java 17 Installation

Step-3 Set the Environment Path

1.Go to directory where java is installed and copy bin folder path-

C:\Program Files\Java\jdk-17.0.2\bin
Bin folder for java

2.Press Windows button on your keyboard and type environment and click on first result

Environment
Environment search

3.Setting new JDK-17 path

  • Double click on path System Path
  • Click on New and paste bin path of jdk-17 and press OK Copying path in environment

And Done! 😇

  • Check if it is successfully Installed

Open Cmd and type

Java --version
Java version

and if not then feel free to comment below

Oldest comments (0)