MedhaCloud
Link copied to clipboard!
Managed IT Support

Java Download — JDK & JRE for Every Version (1.0 to 25)

Sreenivasa Reddy G
Sreenivasa Reddy G
Founder & CEO
May 13, 202610 min read
24
Java Download — JDK & JRE for Every Version (1.0 to 25)
Updated: May 13, 2026

Direct Java download links for every version from Java 1.0 (1996) through Java 25 (2025). Oracle JDK, OpenJDK, Adoptium (Eclipse Temurin), Amazon Corretto, Azul Zulu. Skip the Oracle login wall — pick a free distribution below.

Java LTS Versions (Long-Term Support)

For production. Each LTS gets 8+ years of free security patches from OpenJDK distributions.

VersionReleasedSupport UntilAdoptium (Temurin)OracleCorrettoZulu
Java 25 LTS Sep 2025 Sep 2033 Temurin 25 ↗ Oracle 25 ↗ Corretto 25 ↗ Zulu 25 ↗
Java 21 LTS Sep 2023 Sep 2031 Temurin 21 ↗ Oracle 21 ↗ Corretto 21 ↗ Zulu 21 ↗
Java 17 LTS Sep 2021 Sep 2029 Temurin 17 ↗ Oracle 17 ↗ Corretto 17 ↗ Zulu 17 ↗
Java 11 LTS Sep 2018 Oct 2027 Temurin 11 ↗ Oracle 11 ↗ Corretto 11 ↗ Zulu 11 ↗
Java 8 LTS Mar 2014 Dec 2030 (extended) Temurin 8 ↗ Oracle 8 ↗ Corretto 8 ↗ Zulu 8 ↗
Which distribution should I pick? Adoptium / Eclipse Temurin — most popular, fully free, no login. Amazon Corretto — Amazon's free, security-patched OpenJDK, great for AWS. Azul Zulu — battle-tested, free for community. Oracle JDK — free for use under NFTC license (production-ok), but signup required for older versions.

Java Current (Non-LTS) Releases

VersionReleasedSupport UntilStatusDownload (Adoptium)
Java 24Mar 2025Sep 2025End of feature supportJDK 24 ↗
Java 23Sep 2024Mar 2025EOLJDK 23 ↗
Java 22Mar 2024Sep 2024EOLJDK 22 ↗
Java 20Mar 2023Sep 2023EOLJDK 20 ↗
Java 19Sep 2022Mar 2023EOLJDK 19 ↗
Java 18Mar 2022Sep 2022EOLJDK 18 ↗
Java 16Mar 2021Sep 2021EOLJDK 16 ↗
Java 15Sep 2020Mar 2021EOLJDK 15 ↗
Java 14Mar 2020Sep 2020EOLOracle 14 ↗
Java 13Sep 2019Mar 2020EOLOracle 13 ↗
Java 12Mar 2019Sep 2019EOLOracle 12 ↗
Java 10Mar 2018Sep 2018EOLOracle 10 ↗
Java 9Sep 2017Mar 2018EOLOracle 9 ↗

Legacy Java Versions (1.0 → 7)

Legacy Java has unpatched CVEs. Use only for forensic / legacy app compatibility. For new development, use Java 21 LTS or Java 25 LTS.
VersionReleasedEOL (Oracle)Use CaseDownload
Java 7Jul 2011Jul 2022 (extended)Legacy enterprise appsOracle 7 ↗
Java 6Dec 2006Dec 2018Old enterprise / SolarisOracle 6 ↗
Java 5 (1.5)Sep 2004Apr 2015Legacy app serversOracle 5 ↗
Java 1.4Feb 2002Oct 2008NIO introducedOracle 1.4 ↗
Java 1.3May 2000Nov 2006HotSpot VM eraOracle 1.3 ↗
Java 1.2Dec 1998Nov 2003Swing + Collections introducedOracle 1.2 ↗
Java 1.1Feb 1997Oct 2002Inner classes, JDBC, RMIOracle 1.1 ↗
Java 1.0Jan 1996n/aHistorical — first releaseOracle 1.0 ↗

Java JRE (Runtime Only)

Oracle stopped shipping standalone JRE after Java 8. Java 9+ ship as JDK only — use jlink to build a custom runtime image for production. For Java 8 JRE, use Adoptium Temurin 8 JRE.
JRE VersionDistributionPlatformDownload
JRE 8 (latest)Adoptium TemurinWin / Mac / LinuxTemurin 8 JRE ↗
JRE 8Oracle (legacy)Win / Mac / LinuxOracle JRE 8 ↗
JRE 11+Azul Zulu JREWin / Mac / LinuxZulu JRE ↗

Written by Sreenivasa — Founder & CEO, Medha Cloud

Microsoft Solutions Partner · 24+ years IT · Enterprise software deployment

Microsoft Solutions Partner

Oracle JDK vs OpenJDK — Quick Comparison

AspectOracle JDKOpenJDK (Temurin / Corretto / Zulu)
LicenseOracle NFTC (free for production since Sep 2021)GPLv2 + Classpath exception
Account requiredYes for older versions (8, 11 archives)No, ever
Source codeSame as OpenJDK + small commercial featuresOpen
Security patchesFor latest LTS only (free)8+ years per LTS (free)
Commercial supportOracle support contractAdoptium volunteer / Amazon / Azul (paid)
Mission Control / Flight RecorderIncludedJFR yes, JMC separate

Install + Verify

After downloading, install and set JAVA_HOME:

# Windows (PowerShell, admin)
[Environment]::SetEnvironmentVariable("JAVA_HOME", "C:\Program Files\Eclipse Adoptium\jdk-21.0.5+11", "Machine")
[Environment]::SetEnvironmentVariable("Path", "$env:Path;%JAVA_HOME%\bin", "Machine")

# macOS / Linux (bash/zsh)
export JAVA_HOME=$(/usr/libexec/java_home -v 21)
export PATH=$JAVA_HOME/bin:$PATH

# Verify
java -version
javac -version

Common Install / Runtime Errors

ErrorCauseFix
'java' is not recognized as an internal commandJAVA_HOME or PATH not setSet JAVA_HOME, add %JAVA_HOME%\bin to PATH, reopen shell
UnsupportedClassVersionError: class file version 65.0Class compiled with newer JDK than runtimeInstall matching JDK: 21 = class file version 65, 17 = 61, 11 = 55, 8 = 52
java.lang.OutOfMemoryError: Java heap spaceDefault heap too smallIncrease: java -Xmx4g -Xms2g -jar app.jar
Error: Could not find or load main classWrong classpath or wrong main class nameRun with java -cp . MyClass (no .class extension)
java.security.cert.CertificateExceptionOld JDK with expired root CAsUpgrade to latest LTS — root CAs are updated quarterly
JDK installer says "blocked by group policy"Enterprise software restrictionUse portable Temurin .zip instead of .msi, extract anywhere

FAQ

Is Java free to use in production?

Yes. OpenJDK distributions (Temurin, Corretto, Zulu) have always been free. Oracle JDK became free again under the NFTC license in September 2021 for current LTS releases. Avoid Oracle JDK between Java 11 and 17 unless you bought a support contract.

Which Java should I install — JDK or JRE?

Install JDK if you're developing, compiling, or running build tools (Maven, Gradle, Ant). Install JRE if you only need to run a pre-built .jar. For Java 9+, JDK is the only option — use jlink to strip it down for production deployment.

Why does the Oracle JDK download page ask for a login?

Oracle requires an Oracle account for all archived JDK downloads (anything not in active feature support). Free OpenJDK distributions (Temurin, Corretto, Zulu) never ask. Pick those unless you specifically need Oracle's binaries.

Adoptium vs Corretto vs Zulu — which is best?

All three are identical OpenJDK builds with minor patches. Temurin is the most widely used (Eclipse Foundation, vendor-neutral). Corretto is best on AWS (Amazon's optimization). Zulu has the longest free support windows. For most cases — pick Temurin.

Can I have multiple Java versions installed at once?

Yes. Each JDK installs to its own directory. Switch active version by changing JAVA_HOME. On macOS use /usr/libexec/java_home -V to list, then export JAVA_HOME=$(/usr/libexec/java_home -v 17). On Windows, use mise or jenv for easy version switching.

Where does Java store its install path?

Windows: C:\Program Files\Java\jdk-21 or C:\Program Files\Eclipse Adoptium\jdk-21.0.5+11. macOS: /Library/Java/JavaVirtualMachines/. Linux (Temurin): /usr/lib/jvm/temurin-21-jdk-amd64.

Is Java still relevant in 2026?

Yes — Java 21 + Spring Boot 3 is the dominant enterprise stack. Java added virtual threads (Project Loom), pattern matching, sealed classes, and records since Java 17. Modern Java is competitive with Go and Kotlin for backend services.

Need help with Java enterprise deployment, JVM tuning, or migration from Oracle JDK to OpenJDK? Contact Medha Cloud.

Our Microsoft-certified team delivers seamless migrations with zero downtime.

Managed Migration to Microsoft 365

Topics

java-downloadjdkjreopenjdkoracle-jdk
Sreenivasa Reddy G
Written by

Sreenivasa Reddy G

Founder & CEO15+ years

Sreenivasa Reddy is the Founder and CEO of Medha Cloud, recognized as "Startup of the Year 2024" by The CEO Magazine. With over 15 years of experience in cloud infrastructure and IT services, he leads the company's vision to deliver enterprise-grade cloud solutions to businesses worldwide.

Managed IT SupportCloud InfrastructureDigital Transformation
Follow on LinkedIn

Need Expert Help?

Our certified cloud and IT engineers are ready to tackle your toughest challenges — from migrations to managed services.