Skip to content

Instantly share code, notes, and snippets.

@wavezhang
Last active November 13, 2024 02:42
Show Gist options
  • Save wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 to your computer and use it in GitHub Desktop.
Save wavezhang/ba8425f24a968ec9b2a8619d7c2d86a6 to your computer and use it in GitHub Desktop.
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@yudistirabagus
Copy link

really saves my day

@spikespaz
Copy link

Here is an example of a Nixpkgs overlay for Nix/OS users.

https://github.com/spikespaz/dotfiles/blob/master/overlays/oraclejdk.nix

@Nadwey
Copy link

Nadwey commented Jul 17, 2023

Hi. Does anyone have a jdk 1.4 link for windows i586? please

http://mirror.thekeelecentre.com/pub/java/archive/

@shopsaver
Copy link

Hi, Everyone here is a link of all java version with server
https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html

You just have to scroll and found the file numbers are from descending order like first 20 then 19 at the last version no1 also avaiable
Too

@vepexlegit
Copy link

I downloaded jdk 8u381, upload it here?

@dungsaga
Copy link

Thanks, @@new-user777 . There are also archives of other JDK versions from https://www.oracle.com/java/technologies/downloads/archive/

https://www.oracle.com/java/technologies/javase/jdk20-archive-downloads.html
https://www.oracle.com/java/technologies/javase/jdk19-archive-downloads.html
...
https://www.oracle.com/java/technologies/javase/jdk12-archive-downloads.html
https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html

https://www.oracle.com/java/technologies/java-archive-javase10-downloads.html
https://www.oracle.com/java/technologies/javase/javase9-archive-downloads.html
https://www.oracle.com/java/technologies/javase/javase8u211-later-archive-downloads.html
https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html
...

and more archives of Java SE, Java EE, Java ME, Java FX, GraalVM:

https://www.oracle.com/java/technologies/java-archive-downloads-java-client-downloads.html
https://www.oracle.com/java/technologies/java-archive-downloads-java-plat-downloads.html
JavaSE

https://www.oracle.com/java/technologies/javase/graalvm-jdk20-archive-downloads.html
https://www.oracle.com/java/technologies/javase/graalvm-jdk17-archive-downloads.html
https://www.oracle.com/downloads/graalvm-downloads.html
GraalVM

https://www.oracle.com/java/technologies/java-archive-eesdk-downloads.html
https://www.oracle.com/java/technologies/javaee-java-archive-glassfish-downloads.html
https://www.oracle.com/java/technologies/java-archive-eepla-downloads.html
https://www.oracle.com/java/technologies/java-archive-jwsdp-downloads.html
JavaEE

https://www.oracle.com/java/technologies/java-archive-downloads-javame-downloads.html
JaveME

https://www.oracle.com/java/technologies/java-archive-javafx-downloads.html
https://www.oracle.com/java/technologies/javafx2-archive-downloads.html
JavaFX

@jorgicsek
Copy link

I downloaded jdk 8u381, upload it here?

Yes, please upload it. Thanks.

@rathaROG
Copy link

Use the [old trick here]:

(Personal note only) How to generate link for the future update:

  1. Go to https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
  2. Click on the wanted exe file and accept the license agreement
  3. Get the link from the download button

For example: https://www.oracle.com/webapps/redirect/signon?nexturl=https://download.oracle.com/otn/java/jdk/8u381-b09/8c876547113c4e4aab3c868e9e0ec572/jdk-8u381-windows-x64.exe

  1. Add necessary info into this link:

https://javadl.oracle.com/webapps/download/GetFile/1.8.0_[xxx]-b[xx]/[encrypted_path]/windows-i586/[file_name_exe]

  • [xxx] is the update number; for example 381
  • [xx] is the build number; for example 09
  • [encrypted_path] is the encrypted path; for example 8c876547113c4e4aab3c868e9e0ec572
  • [file_name_exe] is the exe file name; for example jdk-8u381-windows-x64.exe
  1. Final and ready download link will be:
    https://javadl.oracle.com/webapps/download/GetFile/1.8.0_381-b09/8c876547113c4e4aab3c868e9e0ec572/windows-i586/jdk-8u381-windows-x64.exe

Or use the easy site by @kadiwa4 [here]

I made a small site that converts URLs in basically the same way @rathaROG did it. I hope it's useful.

@tyjaaaa
Copy link

tyjaaaa commented Aug 2, 2023

Can you add java 8u77 ?

@devAarno
Copy link

rathaROG, I am so sorry, but your way doesn't work with the oldest versions, like 1.8.0_u0.

@AssGman
Copy link

AssGman commented Aug 19, 2023

This website worked for me trying to download the latest jre-8u381-windows-i586.exe

https://www.java.com/en/download/windows_manual.jsp

No need for any crazy workarounds.

@Nadwey
Copy link

Nadwey commented Oct 2, 2023

Hi, I'm currently making a website that can download old JRE versions directly from Oracle's servers

https://java-downloader.nadwey.pl/

Currently the latest version is 8u31 but I will progressively add newer versions.

Now most Java 3 to Java 8 versions are available, and Java 9 & 10 for MacOS and Windows.

@denisdemaisbr
Copy link

thanks!

@devAarno
Copy link

@Nadwey, you are awesome! Nice work!

@Eric-lHHI
Copy link

Thanks a lot!

@Vebnik
Copy link

Vebnik commented Nov 19, 2023

thanks!

@xzhan96
Copy link

xzhan96 commented Nov 20, 2023

Use this account to login: [email protected] Oracle123.

thanks a lot!

@Hotten1
Copy link

Hotten1 commented Nov 20, 2023

does anybody have a link to jdk 6?

@madnuel
Copy link

madnuel commented Nov 23, 2023

@Drjacky
Copy link

Drjacky commented Dec 10, 2023

👍

@Gesugao-san
Copy link

I made a small site that converts URLs in basically the same way @rathaROG did it. I hope it's useful.

Thank you

@ntrzr
Copy link

ntrzr commented Jan 18, 2024

anyone got 311 java 8 ?

@Nadwey
Copy link

Nadwey commented Jan 19, 2024

anyone got 311 java 8 ?

You can find it here

@MNuri3547
Copy link

jdk-8 linux-x64_bin.deb

@MNuri3547
Copy link

sudo apt install openjdk-8-jdk
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package openjdk-8-jdk is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'openjdk-8-jdk' has no installation candidate

@longnguyen2508
Copy link

@DenKaGamer
Copy link

DenKaGamer commented Feb 10, 2024

If anyone wants the actual version of JDK 8 (u401) without login, here you go:

https://cfdownload.adobe.com/pub/adobe/coldfusion/java/java8/java8u401/jdk/jdk-8u401-windows-x64.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment