Note to myself on how to install Java 7/8 JDK without executing the installer on Windows.
- Download JDK from Oracle
- Extract the “tools.zip” file, located inside the installer “jdk-8uXX-windows-i586.exe” file by treating the executable file as ZIP archive.
- In the destination folder, execute the following command to unpack all libraries:
$ for /r %i in (*.pack) do .\bin\unpack200.exe “%i” “%~pi%~ni.jar”
Source: https://techtavern.wordpress.com/2014/03/25/portable-java-8-sdk-on-windows/