Are you interested in running Java in the browser and also using it for programming? Downloading the free Java Development Kit (JDK) from the Java website is advised in this case. The JDK contains handy tools and services such as a Compiler and Interpreter, an editor for Java, API classes, documentation tools, debugger, programs for signing, archiver as well as tools for performance monitoring, applets and the web service importer. And of course, the Java Runtime Environment (JRE) is also included.
Install Java in Windows 11 as a developer by following these steps:
Step 1: Go to the Java developer website in the browser. You’ll see the for the current Java download (as of 2022: Java 18) available on the homepage. If you want to install the Java Development Kit directly, open the Oracle website for Java downloads and download the installation file.
Step 2: Specify whether you need an “x64 Compressed Archive” as ZIP file, an “x64 Installer” as EXE file or an “x64 MSI Installer” as MSI file. Then you must agree to the license agreement to start and complete the Java download.
Step 3: Depending on the download option you chose; you can extract the downloaded ZIP files or double-click on the executable file. The Java installation wizard will guide you through the installation step by step. Java should be available to use within a few minutes.