Introduction
Oracle released JDK 27 on September 15, 2026, and if you're setting up a Windows 11 machine for Java development, this guide walks you through the entire process — from downloading the installer to verifying that Java runs correctly in your terminal.
A quick note before you start: JDK 27 is not a Long-Term Support (LTS) release. It's a standard six-month "rapid release" that Oracle will support until March 2027, when JDK 28 takes over. If you need a version with years of guaranteed support for production systems, JDK 25 (released September 2025) is the current LTS, and JDK 29 (expected September 2027) will be the next one. JDK 27 is best suited for developers who want to try the newest language and JVM features early, or for learning purposes.
What's new in JDK 27
JDK 27 ships with 9 JEPs, including:
- G1 becomes the default garbage collector in all environments (JEP 523)
- Compact object headers enabled by default (JEP 534), reducing memory footprint
- Post-quantum hybrid key exchange for TLS 1.3 (JEP 527)
- Structured Concurrency, seventh preview (JEP 533)
- Primitive types in patterns,
instanceof, andswitch, fifth preview (JEP 532) - Vector API, 12th incubator round (JEP 537)
None of this affects the install process, but it's worth knowing what you're getting before you download it.
System Requirements
Before installing, make sure your system meets these requirements:
- OS: Windows 11 (64-bit). Windows 10 64-bit also works.
- Disk space: At least 300 MB free for the JDK itself (the installer download is roughly 190 MB).
- RAM: 4 GB minimum recommended for development work.
- Permissions: Administrator access, since the installer writes to
Program Filesand updates system environment variables.
Step 1: Download JDK 27 for Windows
- Open your browser and go to the official Oracle Java downloads page: oracle.com/java/technologies/downloads
- Find the JDK 27 section and select the Windows tab.
- You'll see three download options — pick based on your preference:
| File | Format | Best for |
|---|---|---|
jdk-27_windows-x64_bin.msi |
MSI Installer | Most users — guided GUI install, auto-configures the system |
jdk-27_windows-x64_bin.exe |
EXE Installer | Alternative GUI installer |
jdk-27_windows-x64_bin.zip |
ZIP Archive | Manual setup, portable installs, no admin rights needed |
For most developers, the MSI installer is the easiest route and is what this guide follows. If you'd rather use OpenJDK (free, open-source build with no Oracle license terms), you can get the equivalent build from jdk.java.net/27.
Step 2: Run the JDK 27 Installer
- Double-click the downloaded
jdk-27_windows-x64_bin.msifile. - Click Next on the welcome screen.
- Choose the install location (the default is
C:\Program Files\Java\jdk-27) and click Next. Stick with the default unless you have a specific reason to change it — it keeps future guides and tools working without extra configuration. - Click Install, then approve the User Account Control (UAC) prompt if Windows asks for permission.
- Wait for the installer to finish, then click Close.
The MSI installer automatically registers the JDK in the Windows Registry, which lets other tools (like IDEs) detect it. It does not, however, always add java to your PATH by default — you'll confirm and fix that in the next step.
Step 3: Set JAVA_HOME and Update the PATH Variable
Even though the installer configures some of this automatically, it's good practice to verify and set it manually so any IDE, build tool (Maven, Gradle), or terminal picks up the right version.
- Press Windows key, type "Environment Variables", and select "Edit the system environment variables."
- In the System Properties window, click Environment Variables.
- Under System variables, click New:
- Variable name:
JAVA_HOME - Variable value:
C:\Program Files\Java\jdk-27(use the exact path where you installed JDK 27) - Click OK.
- Variable name:
- Still under System variables, find and select the Path variable, then click Edit.
- Click New and add:
%JAVA_HOME%\bin - Click OK on all open windows to save the changes.
Restart any open Command Prompt, PowerShell, or terminal windows for the new environment variables to take effect.
Step 4: Verify the Installation
Open a new Command Prompt or PowerShell window and run:
java -version
You should see output similar to:
java version "27" 2026-09-15
Java(TM) SE Runtime Environment (build 27+36-3646)
Java HotSpot(TM) 64-Bit Server VM (build 27+36-3646, mixed mode, sharing)
Then confirm the compiler is also working:
javac -version
Expected output:
javac 27
If both commands return version info instead of an error, JDK 27 is installed and configured correctly.
Step 5 (Optional): Set Up an IDE
Once the JDK is installed, point your IDE to it so you can start coding:
- IntelliJ IDEA: File → Project Structure → SDKs → Add SDK → select
C:\Program Files\Java\jdk-27 - Eclipse: Window → Preferences → Java → Installed JREs → Add → Standard VM → browse to the JDK 27 folder
- VS Code: Install the "Extension Pack for Java," then set
java.jdt.ls.java.homein settings to the JDK 27 path
Troubleshooting Common Issues
"java is not recognized as an internal or external command"
This means the PATH variable wasn't updated correctly, or you didn't restart your terminal. Re-check Step 3 and make sure %JAVA_HOME%\bin is listed in the Path variable, then open a fresh terminal window.
java -version shows an older Java version
You likely have a previous JDK installed and it's appearing earlier in the PATH. Open Environment Variables, edit Path, and move the JDK 27 bin entry above any older Java entries (or remove the old ones).
Installer fails to launch
Right-click the .msi file and choose Run as administrator, or re-download the file in case it was corrupted during download.
FAQ
Is JDK 27 free to use?
Yes. Oracle JDK is free under the No-Fee Terms and Conditions (NFTC) for development, testing, and production use, starting with JDK 17 and later versions, including JDK 27.
Is JDK 27 an LTS (Long-Term Support) version?
No. JDK 27 is a short-term release supported until March 2027. The current LTS release is JDK 25; the next LTS is expected to be JDK 29 in September 2027.
Should I upgrade to JDK 27 for production projects?
If you need long-term stability and support, stay on JDK 25 (LTS). Use JDK 27 if you want to experiment with the newest previews and JVM improvements ahead of the next LTS.
Can I have multiple JDK versions installed on Windows 11 at the same time?
Yes. Install each version to its own folder (the default installer already does this) and switch between them by changing the JAVA_HOME value and the Path entry, or by using a version manager like SDKMAN! (via WSL) or jenv.
Conclusion
That's the complete process for installing Java JDK 27 on Windows 11 — download, install, configure JAVA_HOME and PATH, and verify with java -version. From here, you're ready to open your IDE and start writing Java 27 code.
Sources:
- The Arrival of Java 27! - Inside.java
- Download the Latest Java – Oracle
- OpenJDK JDK 27 GA Release Builds
- Oracle JDK End of Life / Support Timeline
- JDK 27 Consolidated Release Notes
Want this turned into a living doc you can keep editing, or should I package it as a ready-to-publish Markdown/HTML file instead?
Comments
Post a Comment
Leave Comment