Modern technology gives us many things.

How to Install the Java JDK in Windows 11


Java is a popular object-oriented programming language. Learn how to install and run it on Windows 11.

deliotte laptop running java

One of the most favored programming language for back-end development (along with JavaScript), Java is also a fairly popular choice for mobile and desktop development as well.

Therefore, it makes sense for anyone interested in programming, and the larger software development world in general, to get their hand dirty with Java. In this article, we’ll go over the exact method to install JDK, or the Java Development Environment, a software development environment necessary for running the Java on your PC.

So let’s jump right in.

Run a Check for Java JDK on Your PC

Before we move to the installation, though, it’s useful to see if JDK is already present in your system. To do that, go to the Start menu search bar, type in ‘cmd,’ and select the Best match.

On the Command prompt, type the following command and hit Enter:

java - -version

As soon as you do that, the Command prompt will check your PC for Java. If your Windows 11 doesn’t have the JDK installed, you should see something like this on your PC:

command prompt

Jump to the section below for the installation instructions.

Related: The Best Java Blogs for Programmers

Installing Java JDK in Windows 11

To install the JDK installer, we need to head to Oracle’s website first. Here’s how:

  1. Go to the Java Downloads section of the Oracle website, and download the x64 Installer from there.
    downloading the java installer
  2. As soon as the download completes, launch the installation file and click on Yes.
  3. The JDK installation wizard will be launched. In the dialog box, click on Next.
    java development kit installation menu
  4. On the next screen, you’ll be asked for the location of your file. Click on Next.
  5. Once the JDK installation is complete, click on Close.


By the end of this process, the Java development kit will be successfully installed on your PC.

Related: What’s the Best Java IDE? NetBeans vs Eclipse vs IntelliJ

Installing and Running Java in Windows 11

And that’s all, folks. Follow the steps above, and the Java environment will be successfully set up on your PC. Being one of the more popular programming languages out there, installing and learning Java is your first step in growing in this handy, object-oriented language.

Laptop screen showing Java icon
The 5 Best Ways to Learn Java Online in 2021

Java is an outstanding multi-purpose language capable of creating nearly any program under the sun. But how do you go about learning it?

Read Next

About The Author

Source link

Leave A Reply

Your email address will not be published.