Created
April 23, 2017 15:28
-
-
Save anatol-grabowski/402a4acf63f81ba754b26e2dce1b16a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set "tool7z=%TOT_CORE%\7-Zip\7z" | |
set "jdk_exe=%1" | |
echo Extracting '.rsrc/1033/JAVA_CAB10/111' | |
%tool7z% e %jdk_exe% .rsrc/1033/JAVA_CAB10/111 | |
:: %tool7z% e %jdk_exe% .rsrc/1033/version.txt | |
echo Extracting '111' | |
extrac32 111 | |
echo Removing '111' | |
del 111 | |
echo Extracting 'tools.zip' | |
%tool7z% x tools.zip -ojdk | |
echo Removing 'tools.zip' | |
del tools.zip | |
echo Extracting '*.pack' | |
cd jdk | |
for /r %%x in (*.pack) do .\bin\unpack200 -r "%%x" "%%~dx%%~px%%~nx.jar" | |
cd .. | |
echo Done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
FYI, for Java 8 update 131, the 111 file is in (second archive) jdk-8u131-windows-x64.exe/.rsrc/RCDATA/100/.rsrc/1033/JAVA_CAB10/111
In addition, the JAVA_CAB9/110 file = src.zip could be a good idea to include (at root path) for a SDK.
Best regards