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
🌐
CodeNotFound
codenotfound.com › java-download-install-jdk-8-windows.html
How to Download and Install JDK 1.8 on Windows · CodeNotFound
July 26, 2022 - 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 versions like 1.8.0_202. Open the location of the downloaded executable. Double-click to run the installer. On Windows 10 a pop-up window will appear: The app you're trying to install isn't a Microsoft-verified app
🌐
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.
🌐
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.
🌐
Oracle
jdk.java.net › archive
Archived OpenJDK GA Releases - Java.NET
This page is an archive of previously released builds of the JDK licensed under the GNU General Public License, version 2, with Classpath Exception · WARNING: These older versions of the JDK are provided to help developers debug issues in older systems. They are not updated with the latest ...
🌐
TechSpot
techspot.com › downloads › 5198-java-jre.html
Java SE JDK and JRE 8.491 Download | TechSpot
3 days ago - JDK Linux 64-bit RPM · JDK Linux RPM · JRE Windows · JRE macOS · Last updated: April 22, 2026 · Developer: Oracle · License: Commercial · OS: Windows, macOS, Linux · File size: 151 MB · Downloads: 464,657 · User rating: 200 votes · Rate this · 5 (Best) 4 · 3 · 2 · 1 (Worst) JavaScript turns 30: From 10-day prototype to the backbone of the modern web ·
Rating: 4.3 ​ - ​ 200 votes
🌐
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).
🌐
Oracle
oracle.com › java › technologies › javase › javase8-archive-downloads.html
Java SE 8 Archive Downloads (JDK 8u202 and earlier)
Go to the Oracle Java Archive · 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
Find elsewhere
🌐
OpenLogic
openlogic.com › openjdk-downloads
OpenJDK Downloads | OpenLogic
Free, quarterly builds of OpenJDK for Linux, Windows, and MacOS.
🌐
Oracle
java.com › en › download › help › windows_manual_download.html
How do I manually download and install Java for my Windows computer?
Use these simple instructions to manually download and install Java (also known as Java Runtime Environment or JRE) for your Windows computer
🌐
GitHub
gist.github.com › wavezhang › ba8425f24a968ec9b2a8619d7c2d86a6
download java from oracle without login · GitHub
Now most Java 3 to Java 8 versions are available, and Java 9 & 10 for MacOS and Windows. Sad, this server is down. Would you be willing to share its source code? Lost it :) It was quite messy anyways. However, I might reimplement it in the coming weeks as an excuse to learn Go. ... Any URL for jdk-8u461-windows-x64.exe ?
🌐
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.
🌐
Softonic
java-development-kit-jdk.en.softonic.com › home › windows › development & it › programming languages › java development kit › download
Download Java Development Kit - Free - latest version
November 10, 2025 - Download Java Development Kit for Windows now from Softonic: 100% safe and virus free. More than 3504 downloads this month. Download Java Development
Rating: 6.7/10 ​ - ​ 1.83K votes
🌐
Oracle
java.com › en › download › manual.jsp
Download Java
» What is Java » Remove older versions » Security » Support » Other help · This download is for end users who need Java for running applications on desktops or laptops. Java 8 integrates with your operating system to run separately installed Java applications.
🌐
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)
🌐
Adoptium
adoptium.net › temurin › releases
Download Temurin® JDK
Pick a version, package type, JDK/JRE, and download the binaries. All VersionsJDK 25 - LTSJDK 21 - LTSJDK 17 - LTSJDK 11 - LTSJDK 8 - LTS
🌐
Guru99
guru99.com › home › java tutorials › how to download & install java jdk 8 in windows
How to Download & Install Java JDK 8 in Windows
November 8, 2024 - Following are the steps on how to install Java in Windows 10 for JDK 8 free download for 32 bit or JDK8 download for Windows 64 bit and installation · Step 1) Go to link.
🌐
javaspring
javaspring.net › blog › java-jdk-8-download-windows
Java JDK 8 Download and Installation on Windows — javaspring.net
Administrative Privileges: You need administrative rights on your Windows machine to install JDK 8. Visit the Oracle Java Archive page at https://www.oracle.com/java/technologies/javase/javase8-u211-archive-downloads.html.