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.
People also ask

Can we install both JDK 8 and JDK 11?
Yes, when we are working on multiple projects, some of which use Java 8 and some of which are new projects using Java 11. So we are required to install both on a single machine, and we can switch between these versions easily.
🌐
javacodepoint.com
javacodepoint.com › jdk-1-8-download-and-install-on-windows-11
Download JDK 1.8 and Install on Windows 11 - Javacodepoint
Can I install multiple versions of JDK?
Yes, you can install multiple versions. You don't have to do anything special for that to happen, as Sun is creating a different folder for each (under Program Files).
🌐
javacodepoint.com
javacodepoint.com › jdk-1-8-download-and-install-on-windows-11
Download JDK 1.8 and Install on Windows 11 - Javacodepoint
Do I need JRE if I have JDK?
You do not need to install JRE then, as JDK usually consists of both development & run-time environments in it. If you install JDK, then JRE will already be packaged in it and installed automatically along with JDK.
🌐
javacodepoint.com
javacodepoint.com › jdk-1-8-download-and-install-on-windows-11
Download JDK 1.8 and Install on Windows 11 - Javacodepoint
🌐
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
1 week 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: 465,287 · 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).
Find elsewhere
🌐
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
🌐
OpenLogic
openlogic.com › openjdk-downloads
OpenJDK Downloads | OpenLogic
Free, quarterly builds of OpenJDK for Linux, Windows, and MacOS.
🌐
Javacodepoint
javacodepoint.com › jdk-1-8-download-and-install-on-windows-11
Download JDK 1.8 and Install on Windows 11 - Javacodepoint
January 7, 2026 - To start the development of a Java application, your system should have JDK installed. This is the first step to start developing any Java application. ... Here we are going to download 64-bit JDK 1.8 and install it on the Windows 11 64-bit Operating System.
🌐
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 ?
🌐
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
🌐
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
February 25, 2026 - 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)
🌐
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 4359 downloads this month. Download Java Development
Rating: 6.7/10 ​ - ​ 1.83K votes
🌐
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.
🌐
CNET
download.cnet.com › java-se-development-kit-8 › 3000-2218_4-12091.html
Java SE Development Kit 8 for Windows - Free download and software reviews - CNET Download
August 12, 2025 - Download Java SE Development Kit 8 latest version for Windows free. Java SE Development Kit 8 latest update: August 12, 2025
Rating: 4.3 ​ - ​ 12 votes
🌐
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.