How can I get JAVA 9 JRE / JDK as a zip file rather than EXE or MSI installer?
Asked
Active
Viewed 1.6k times
13
-
Just wondering if anyone has got an answer to this? If Oracle's plan for the future is to stop publishing relocatable packages of the JRE, then for sure many of us will get into big trouble with our apps that use an embedded JRE. – peterh Apr 24 '17 at 09:40
5 Answers
11
Look at https://jdk9.java.net/ carefully there's "JDK 9 Early Access with Project Jigsaw" that is actually zip download.
Paul Verest
- 60,022
- 51
- 208
- 332
-
4This link is no more available. Please use http://jdk.java.net/java-se-ri/9 link to download jdk9 zip file – B. S. Rawat Sep 11 '17 at 15:05
6
You can download JDK 9 zip file from Java Platform, Standard Edition 9 Reference Implementations
B. S. Rawat
- 1,874
- 3
- 22
- 34
2
From here: https://stackoverflow.com/a/6571736/8714033
- Create working JDK directory (
C:\JDKin this case) - [Download][1] latest version of JDK from Oracle (for example
jdk-7u7-windows-x64.exe) - [Download][2] and install 7-Zip (or download [7-Zip portable][3] version if you are not administrator)
- With 7-Zip extract all the files from
jdk-XuXX-windows-x64.exeinto the directoryC:\JDK - Execute the following commands in
cmd.exe:cd C:\JDK\.rsrc\1033\JAVA_CAB10extrac32 111
- Unpack
C:\JDK\.rsrc\1033\JAVA_CAB10\tools.zipwith 7-zip - Execute the following commands in
cmd.exe:cd C:\JDK\.rsrc\1033\JAVA_CAB10\tools\for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar"(this will convert all.packfiles into.jarfiles)
- Copy all contents of
C:\JDK\.rsrc\1033\JAVA_CAB10\toolswhere you want your JDK to be - Setup
JAVA_HOMEandPATHmanually to point to your JDK dir and its BIN subdirectory.
Though my experience was a bit different, tools.zip can be in a different place depending on JDK version.
Chris T
- 21
- 2
1
You can download JDK 9 Early-Access Builds from jdk.java.net, All other locations (jdk9-builds, jdk9.java.net) are not accessible/migrated.
Chandra Sekhar
- 16,256
- 10
- 67
- 90