DEV Community

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

Posted on

3 2

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

Sentry image

Hands-on debugging session: instrument, monitor, and fix

Join Lazar for a hands-on session where you’ll build it, break it, debug it, and fix it. You’ll set up Sentry, track errors, use Session Replay and Tracing, and leverage some good ol’ AI to find and fix issues fast.

RSVP here →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs