You can extract src.zip by following these steps.
Note. The steps are mentioned for jdk-7u80-windows-x64.exe . The steps for JDK7 and JDK8 (for 32-bit and 64-bit) are similar.
Step 1
Run the standalone installer jdk-7u80-windows-x64.exe . The setup screen is displayed. Do not click Next .

Step 2
Now in the file explorer go to the directory
C:\Users\UserName\AppData\LocalLow\Sun\Java
where UserName is replaced with the actual username.
Note. . For JDK 8, use the directory
C:\Users\UserName\AppData\LocalLow\Oracle\Java

Now the MSI and CAB files for the 64-bit installation of JDK 7u80 will be located in the jdk1.7.0_80_x64 directory.
Note. . For a 32-bit installation of JDK 7u80, the corresponding directory will be jdk1.7.0_80 .
Step 3
Copy this folder to another suitable location. Now cancel the JDK installation.
Step 4
Now in the copied folder you will find the following files:
- jdk1.7.0_80.msi - MSI to install the JDK.
- sj170800.cab - Contains the files necessary for self-installing JRE.
- ss170800.cab - contains the src.zip file.
- st170800.cab - contains the tools.zip file.
- sz170800.cab - contains the COPYRIGHT file.
source share