Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

If you want to learn Java, write Java programs, or use tools such as IntelliJ IDEA, Maven, or Gradle, download a JDK—not just a runtime. For a general-purpose setup, Oracle lists JDK 25 as the latest Long-Term Support release and JDK 26 as the latest feature release as of August 18, 2026. Choose JDK 25 unless your course or application requires another major version.

What is Java?

Java is both a programming language and a software platform. Java source code is compiled into bytecode, which runs on the Java Virtual Machine (JVM).

  • JVM: Runs compiled Java bytecode.
  • JRE: Provides what is primarily needed to run Java applications.
  • JDK: Includes the runtime plus development tools such as javac, the Java compiler.

Windows 11 does not normally include Java by default, so you need to install a JDK or runtime separately.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Do you need the JDK or JRE?

Your goal Install
Learn Java or write programs JDK
Use IntelliJ IDEA, Eclipse, NetBeans, Maven, or Gradle JDK
Run one Java application The version and runtime requested by that application
Run an older game or business application The required Java major version, not automatically the newest release
You are unsure JDK 25 LTS from a reputable distribution

Oracle also warns that installing a JRE does not necessarily update command-line Java links or add Java to PATH. For programming, the full JDK is the safer choice.

#1 Best Overall
Sale
Nulaxy Ergonomic Adjustable Laptop Stand for Desk, Dual Foldable Computer Riser with Advanced Heat-Vent, Heavy-Duty Portable Notebook Holder for Posture Correction, Compatible with Mac 10-16" Laptops
  • Ergonomic Posture Correction: Designed to elevate your laptop to the perfect eye level, this adjustable laptop stand significantly reduces neck, shoulder, and spinal fatigue. Transform your desk into a healthier workstation, ideal for long hours of typing, Zoom meetings, or gaming.
  • Unshakable Dual-Rod Stability: Unlike single-hinge models, our stand features a highly engineered dual-support rod mechanism. It perfectly distributes weight to ensure a 100% wobble-free typing experience, safely supporting heavy-duty devices up to 22 lbs (10kg).
  • Advanced Thermal Cooling Panel: Maximize your device's performance. The unique geometric heat-vent design on the upper panel provides superior airflow compared to standard solid stands. This continuous heat dissipation prevents your laptop from thermal throttling and hardware damage during intensive tasks.
  • Universal 10-16” Compatibility: A versatile computer riser that seamlessly fits all 10 to 16-inch laptops. Broadly compatible with MacBook Pro/Air, Dell XPS, HP, Lenovo, ASUS, Chromebook, and large gaming laptops. The anti-slip silicone pads firmly grip your device and protect it from scratches.
  • Foldable, Portable & Ready to Go: Maximize your productivity anywhere. The dual-foldable design allows the stand to collapse completely flat in seconds. Easily slip it into your backpack or briefcase, making it the ultimate portable office accessory for business trips, cafes, or hybrid work setups.

Which Java version should you choose?

As of August 18, 2026, Oracle’s download page lists:

  • JDK 25: The current LTS release and the best default for most new setups.
  • JDK 26: The latest Java SE feature release, appropriate when a project specifically requires it or you want the newest features.
  • JDK 21: The previous LTS release and still widely supported by courses and tools.

Always follow a project’s required major version. A project targeting Java 8, 11, 17, 21, or 26 may not work correctly with a different version. Patch numbers and installer filenames change, so select the current installer shown on the official download page rather than searching for a hard-coded filename.

Choose a JDK distribution

Java is available from several legitimate distributions. The Java language is the same, but vendors can differ in packaging, support, update policies, and licensing.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Oracle JDK

Choose Oracle JDK when Oracle compatibility, documentation, or organizational policy matters. Oracle’s licensing depends on the release, date, and use case; do not assume that every Oracle JDK release has identical terms. Review the applicable Oracle license terms.

Microsoft Build of OpenJDK

Microsoft Build of OpenJDK is a free, Microsoft-supported OpenJDK distribution with Windows x64 and ARM64 availability. It is a practical choice for many Windows users.

Rank #2
Sale
BESIGN LS03 Aluminum Laptop Stand, Ergonomic Detachable Computer Stand, Notebook Riser, Laptop Mount Compatible with Air, Pro, Dell, HP, Lenovo More 10-15.6" Laptops, Silver
  • Broad Compatibility: Besign LS03 Laptop Mount is compatible with all laptops from 10''-15.6'', such as Air 13, Pro 13 / 15 / 2018 / 2017 / 2016, Lenovo ThinkPad, Dell, HP, ASUS, Chromebook, and other notebooks.
  • Ergonomic Design: This LS03 Laptop Stand could elevate your laptop by 6’’ to a perfect viewing level, help you improve your posture and reduce neck and shoulder pain. This laptop stand is super easy to detach and assemble.
  • Stable And Protective: This laptop stand is made of premium Aluminum alloy, it is sturdy, support up to 8.8 lbs(4kg), no worry any wobble at all; the rubber on the holder hands sticks tightly, ensure your laptop stable on the stand and prevent any scratches.
  • Keep Laptop Cool: the open aluminum design provides good ventilation and airflow to prevent your laptop from overheating. It folds flat if you need to store it, create extra space on your desk and keep your desk clean and organized.
  • Easy to Use: thanks to the detachable design, you could assemble it very easily it 3 steps.

Eclipse Temurin

Eclipse Temurin is a widely used OpenJDK distribution. Download it from the official Adoptium releases page and select the required Java version and Windows architecture.

Check whether Windows 11 is x64 or ARM64

  1. Press Windows + I.
  2. Open System > About.
  3. Look under Device specifications for System type.

Most Intel- and AMD-based computers use x64. Windows-on-Arm computers use ARM64. Choose a native ARM64 build when the selected vendor provides one. Oracle’s download listings prominently provide Windows x64 installers, while Microsoft documents x64 and ARM64 availability for its own build.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How to download and install Oracle JDK on Windows 11

The following is the graphical installation path using Oracle JDK. The labels and filenames may change as releases are updated.

  1. Open the official Oracle Java downloads page.
  2. Select JDK 25 for the LTS recommendation, or JDK 26 if your project requires it.
  3. Find the Windows section.
  4. Choose x64 Installer (.exe) for a typical Intel or AMD PC. The x64 MSI Installer (.msi) is mainly useful for managed or enterprise deployment.
  5. Download only from the official Oracle domain.
  6. Open the downloaded .exe file.
  7. Approve the Windows administrator prompt. System-wide installation requires administrator privileges.
  8. Follow the installer prompts. Unless you have a specific reason to change it, keep the default destination.
  9. Finish the installation.

Oracle’s documented default pattern is similar to:

C:Program FilesJavajdk-<FEATURE>

For example, JDK 25 may be installed under C:Program FilesJavajdk-25. The exact folder can vary by release and installer, so check the real directory before configuring JAVA_HOME.

Rank #3
Sale
LOXP Adjustable Laptop Stand, Computer Stand with 360 Rotating Base
  • ✔️[Foldabe & Protable] - Foldable laptop stand for desk & Protable computer stand, It combines the advantages of market brackets, convenient travel laptop stand. Easy to use. Suitable for working at home, office and outdoor, improve comfort.
  • ✔️[360°Rotation] - The computer stand with 360° rotating base, 360° rotation connected with the base is more flexible, the computer stand allows you to rotate the laptop to any angle.
  • ✔️[Stable & Durable] - The Computer stand is made of one-piece fiber metal material, which is more durable and stable than ordinary aluminum alloy computer stands. The upgraded rotating base makes the stand performance more stable, and the non-slip silicone protects the laptop from sliding.Only supports laptops up to 16 inches.
  • ✔️[Ergonmic Desing] - You can freely adjust the height and angle of the laptop stand to keep it at eye level, which helps to reduce the pressure on your body while working. Whether sitting or standing, there is a comfortable angle.
  • ✔️[Wide Compatibility] - Our laptop stand is compatible with all laptops from 10-16 inches, such as MacBook Air/Pro, Google PixelBook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc. It is an ideal companion for computer workers.

Verify that Java works

Close existing Command Prompt or PowerShell windows, then open a new one. Run:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
java -version
javac -version
where.exe java
where.exe javac

java -version confirms that a Java runtime is available. javac -version confirms that the compiler—and therefore the development portion of the JDK—is available. The where.exe commands show which Java executables Windows is actually using.

A successful java command alone does not prove that the complete JDK is configured.

Configure JAVA_HOME when needed

Many development tools expect JAVA_HOME to identify the JDK installation. It should point to the JDK’s root directory, not its bin folder.

Correct:

JAVA_HOME=C:Program FilesJavajdk-25

Incorrect:

JAVA_HOME=C:Program FilesJavajdk-25bin

Windows 11 graphical steps

  1. Open Start and search for environment variables.
  2. Select Edit the system environment variables.
  3. In System Properties, click Environment Variables.
  4. Under System variables, click New.
  5. Set the variable name to JAVA_HOME.
  6. Set the value to the actual JDK folder, such as C:Program FilesJavajdk-25.
  7. Under System variables, select Path and click Edit.
  8. Add %JAVA_HOME%bin.
  9. Click OK through all dialogs.
  10. Open a new terminal and run the following commands.
echo $env:JAVA_HOME
java -version
javac -version

Manual PATH editing is not always necessary. An Oracle installer may provide launchers through C:Program FilesCommon FilesOracleJavajavapath. Configure JAVA_HOME when a development tool requires it or when command resolution is incorrect.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Gogoonike Adjustable Laptop Stand for Desk, Metal Laptop Riser Holder
  • 【Adjustable & Ergonomic】:This laptop stand can be adjusted to a comfortable height and angle according to your actual needs, letting you fix posture and reduce your neck fatigue, back pain and eye strain. Very comfortable for working in home, office and outdoor.
  • 【Sturdy & Protective】 :Made of sturdy metal, it can support up to 17.6 lbs (8kg) weight on top; With 2 rubber mats on the hook and anti-skid silicone pads on top & bottom, it can secure your laptop in place and maximum protect your device from scratches and sliding. Moreover, smooth edges will never hurt your hands.
  • 【Heat Dissipation】 :The top of the laptop stand is designed with multiple ventilation holes. The open design offers greater ventilation and more airflow to cool your laptop during operation other than it just lays flat on the table.
  • 【Portable & Foldable】:The foldable design allows you to easily slip it in your backpack. Ideal for people who travel for business a lot.
  • 【Broad Compatibility】:Our desktop book stand is compatible with all laptops from 10-15.6 inches, such as MacBook Air/ Pro, Google Pixelbook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc.Be your ideal companion in Home, Office & Outdoor.

Optional: install Java with WinGet

If you prefer a terminal, Microsoft’s Windows Java guide documents these examples:

winget install Microsoft.OpenJDK.21

For Eclipse Temurin:

winget install EclipseAdoptium.Temurin.21.JDK

Then verify the result:

java -version
javac -version

These package identifiers target Java 21 in Microsoft’s documented examples. Confirm the available identifier and your project’s required major version before installing a different release.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Troubleshooting Java on Windows 11

“Java is not recognized”

Common causes include Java not being installed, an old terminal session, or a missing or conflicting PATH entry.

  1. Close and reopen PowerShell or Command Prompt.
  2. Confirm the JDK folder exists in File Explorer.
  3. Run where.exe java and where.exe javac.
  4. Set JAVA_HOME to the JDK root folder.
  5. Add %JAVA_HOME%bin to Path.
  6. Open another new terminal and repeat the version checks.

java works but javac does not

This usually means that only a runtime was installed, Path points to an incomplete or older installation, or multiple Java installations are conflicting. Install a JDK and inspect where.exe javac.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The wrong Java version appears

Run:

where.exe java
where.exe javac
java -version

Compare the displayed paths. Remove obsolete Java entries from Path, or place the intended JDK’s bin entry earlier in the relevant Path. Avoid manually deleting registry keys.

Best Value
Tonmom Adjustable Laptop Stand for Desk, Metal Foldable Laptop Riser
  • ✅【Adjustable & Ergonomic】:This laptop stand can be adjusted to a comfortable height and angle according to your actual needs, letting you fix posture and reduce your neck fatigue, back pain and eye strain. Very comfortable for working in home, office and outdoor.
  • ✅【Sturdy & Protective】 :Made of sturdy metal, it can support up to 17.6 lbs (8kg) weight on top; With 2 rubber mats on the hook and anti-skid silicone pads on top & bottom, it can secure your laptop in place and maximum protect your device from scratches and sliding. Moreover, smooth edges will never hurt your hands.
  • ✅【Heat Dissipation】 :The top of the laptop stand is designed with multiple ventilation holes. The open design offers greater ventilation and more airflow to cool your laptop during operation other than it just lays flat on the table.
  • ✅【Portable & Foldable】:The foldable design allows you to easily slip it in your backpack. Ideal for people who travel for business a lot.
  • ✅【Broad Compatibility】:Our laptop holder is compatible with all laptops from 10-17.3 inches, such as MacBook Air/ Pro, Google Pixelbook, Dell XPS, HP, ASUS, Lenovo ThinkPad, Acer, Chromebook and Microsoft Surface, etc.Be your ideal companion in Home, Office & Outdoor.

An application reports an unsupported Java version

Read the application’s official requirements and install its requested major version. Keep multiple JDKs installed if necessary, then configure the IDE or application to use the required JDK directly. The newest JDK is not automatically compatible with every older application.

The installer requests administrator approval

This is expected for a system-wide installation. Oracle’s Windows installation documentation states that administrator privileges are required.

The download looks incomplete or suspicious

Redownload it from the official Oracle, Microsoft, or Adoptium site. Where a checksum is published, compare the file’s SHA-256 checksum with the vendor’s value. Do not use unofficial “Java download” sites.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The installer fails because of architecture

Recheck Settings > System > About > System type. Select x64 for typical Intel or AMD systems and ARM64 for Windows-on-Arm systems when a native build is available.

Uninstall or replace Java

  1. First identify the active installation with where.exe java and java -version.
  2. Open Settings > Apps > Installed apps.
  3. Search for Oracle JDK, Java, Temurin, or Microsoft Build of OpenJDK.
  4. Select the relevant installation and choose Uninstall.

Do not manually delete the JDK folder before using the normal uninstaller unless the uninstaller has failed and you understand the consequences. Avoid replacing or overwriting a JDK directory while Java processes are running.

Final checklist

  • Correct distribution chosen.
  • Correct Windows architecture selected.
  • JDK installed rather than only a runtime, when programming tools are involved.
  • java -version works.
  • javac -version works.
  • where.exe java and where.exe javac point to the intended installation.
  • JAVA_HOME configured if required.
  • Path includes %JAVA_HOME%bin when necessary.

For further reference, see Oracle’s JDK installation overview and Microsoft’s Windows Java development guide.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.