You can download JDK 7 here
The Java SDK and JDK are different you can check here difference between them
You can download any version of JDK from this oracle archive link, To download older version of JDK please register in the on click on download link
Answer from mahesh on Stack Overflowjava - How can I get the latest JRE / JDK as a zip file rather than EXE or MSI installer? - Stack Overflow
Struggling to get access to the latest update of JDK 7
which platform do you need the jdk for ?
More on reddit.comOracle not allowing JDK downloads without an account?
This is not new. End of life versions have required an account for years
More on reddit.cominstalling JDK without admin rights
Videos
You can download JDK 7 here
The Java SDK and JDK are different you can check here difference between them
You can download any version of JDK from this oracle archive link, To download older version of JDK please register in the on click on download link
GlassFish Server Open Source Edition 4 is the reference implementation of the Java EE 7 specification. So you can never download Java EE itself like you do with Java SE by downloading the JDK, but you always download an application server implementing it.
Source
JDK is not available as a portable ZIP file, unfortunately. However, you can follow these steps:
- Create working JDK directory (
C:\JDKin this case) - Download latest version of JDK from Oracle (for example
jdk-7u7-windows-x64.exe) - Download and install 7-Zip (or download 7-Zip portable 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.
- Create destination folder where you can RWX (e.g.
C:\jdk8) - Download jdk exe from Oracle (e.g.
jdk-8u72-windows-x64.exe) - Unzip the
tools.zipfound inside it into the destination folder - In
cmd.exe, run:cd C:\jdk8for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar"
This solution works for JDK 8 too, without Admin rights.