You can extract the JDK folder from the Installation EXE.

Check this link for the steps. The post was for JDK 1.7 it will work for JDK 1.8 also

Do the following.

Steps

  1. Download JDK from Oracle
  2. Download and Install 7-zip from here
  3. Open installition exe using 7-Zip
  4. Extract the tools.zip
  5. Extract the content of tools.zip to a folder (e.g. c:\jdk).
  6. Open the extracted folder in cmd prompt.
  7. Execute for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar" command
  8. Set JAVA_HOME to the jdk (e.g c:\jdk) folder.
  9. Add %JAVA_HOME%/bin to the PATH env variable.

Testing

Run the following command to check the installation, it will print the version of JDK.

c:> javac -version
javac 1.7.0_51

NOTE: Tested with JDK 1.7 and 1.8

Update 1

Edited the answer to add the steps in the answer itself instead of the link to a blog post.

Update 2

For 64-Bit please check unpack-jdk-x64.bat by grabantot

Answer from seenukarthi on Stack Overflow
🌐
Oracle
oracle.com › java › technologies › javase › javase8-archive-downloads.html
Java SE 8 Archive Downloads (JDK 8u202 and earlier)
This page includes archive downloads for Java SE 8u202 and earlier. The archive downloads for Java SE 8u211 and later updates are available, under the Java SE OTN License. The JDK is a development environment for building applications using the Java programming language.
🌐
Oracle
oracle.com › java › technical details
Java SE 8 Archive Downloads (JDK 8u211 and later)
For current Java releases, please visit Oracle Java SE Downloads. This software is licensed under the Oracle Technology Network License Agreement for Oracle Java SE · JDK 8u471 checksums and OL 9 GPG Keys for RPMs.
🌐
GitHub
gist.github.com › wavezhang › ba8425f24a968ec9b2a8619d7c2d86a6
download java from oracle without login · GitHub
Mac OS X x64 (249.15 MB) https://javadl.oracle.com/webapps/download/GetFile/1.8.0_202-b08/1961070e4c9b4e26a04e7f5a083f551e/unix-i586/jdk-8u202-macosx-x64.dmg
🌐
OpenLogic
openlogic.com › openjdk-downloads
OpenJDK Downloads | OpenLogic
Free, quarterly builds of OpenJDK for Linux, Windows, and MacOS.
🌐
CodeNotFound
codenotfound.com › java-download-install-jdk-8-windows.html
How to Download and Install JDK 1.8 on Windows · CodeNotFound
July 26, 2022 - Accept the license pop-up and click on the Download jdk-8u331-windows-x64.exe button. You will need an Oracle account in order to download the JDK. Sign in with an existing account or create a new account to continue. Wait for the download to complete. Check the Java Archive section for older ...
🌐
TechSpot
techspot.com › downloads › 5198-java-jre.html
Java SE JDK and JRE 8.481 Download | TechSpot
January 20, 2026 - For example, if you are deploying a web application with JSP, you are technically just running Java programs inside the application server. Why would you need the JDK then? Because the application server will convert JSP into Java servlets and needs to use the JDK to compile the servlets. The full version string for this update release is 1.8.0_441-b07 (where "b" means "build").
Rating: 4.3 ​ - ​ 200 votes
Find elsewhere
🌐
Oracle
java.com › en › download
Download Java
Please review the terms carefully before downloading and using this product. An FAQ is available here. Commercial license and support is available with a low cost Java SE Subscription. When your Java installation completes, if you are using webstart, you may need to restart your browser (close all browser windows and re-open). » Installation Instructions » System Requirements Not the right operating system? See all Java 8 ...
🌐
UnoGeeks
unogeeks.com › home › blog › java 1.8 download
Java 1.8 Download
December 27, 2023 - Visit the Oracle JDK download page: https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html · Scroll down to find the “Java SE Development Kit 8u301” (or the latest update available at the time).
🌐
OpenJDK
openjdk.org › install
How to download and install prebuilt OpenJDK packages
If you want to develop Java programs then install the java-1.8.0-openjdk-devel package. ... The openjdk-7-jre package contains just the Java Runtime Environment. If you want to develop Java programs then install the openjdk-7-jdk package.
🌐
Azul Systems
azul.com › home › azul downloads
Java 8, 11, 17, 21, 25 Download for Linux, Windows and macOS
February 25, 2026 - Click here to download the Azul Zulu Builds of OpenJDK for Java 8, 11, 17, 21, 25 for Linux, Windows and macOS. Also download Azul Platform Prime.
🌐
OpenJDK
openjdk.org › projects › jdk8
JDK 8
Production-ready binary distributions based on the JDK 8 code base are available now from Oracle and will be available soon in most Linux distributions.
🌐
Oracle
oracle.com › java › technologies › downloads
Download the Latest Java LTS Free
Download the Java including the latest version 17 LTS on the Java SE Platform. These downloads can be used for any purpose, at no cost, under the Java SE binary code license.
🌐
Adoptium
adoptium.net › temurin › releases
Temurin jdk8u482-b08, macOS x64 (.PKG)
Pick a version, package type, JDK/JRE, and download the binaries. All VersionsJDK 25 - LTSJDK 21 - LTSJDK 17 - LTSJDK 11 - LTSJDK 8 - LTS
🌐
JetBrains
jetbrains.com › guide › java › tips › download-jdk
Download a JDK - JetBrains Guide
October 1, 2025 - In the Download JDK popup, specify the JDK vendor and version, change the installation path if required, and click Download.
🌐
GitHub
github.com › hmsjy2017 › get-jdk
GitHub - hmsjy2017/get-jdk: Java SE Development Kit 8 Downloads · GitHub
Download · Linux ARM 32 Hard Float ABI · 72.94 MB · jdk-8u231-linux-arm32-vfp-hflt.tar.gz · Linux ARM 64 Hard Float ABI · 69.83 MB · jdk-8u231-linux-arm64-vfp-hflt.tar.gz · Linux x86 RPM Package · 171.28 MB · jdk-8u231-linux-i586.rpm · Linux x86 Compressed Archive · 186.1 MB ·
Starred by 54 users
Forked by 9 users
🌐
Bell Software
bell-sw.com › pages › downloads
Java Download | Java 8, Java 11, Java 17, Java 21, Java 25, Java 26 - OpenJDK Builds for Linux, Windows & macOS
Download Liberica JDK, supported OpenJDK builds. Open source Java 8, 11 and more for Linux, Windows, macOS.
🌐
Red Hat
developers.redhat.com › products › openjdk › download
Download the Red Hat Build of OpenJDK | Red Hat Developer
July 25, 2024 - Download the Red Hat Build of OpenJDK at no-cost. The Red Hat build of OpenJDK is an open source implementation of the Java Platform, Standard Edition (Java SE)