Skip to content

Instantly share code, notes, and snippets.

@davidsylvestre
Created January 30, 2017 12:56
Show Gist options
  • Select an option

  • Save davidsylvestre/fe8053acf391516041e0c9da17bf1f13 to your computer and use it in GitHub Desktop.

Select an option

Save davidsylvestre/fe8053acf391516041e0c9da17bf1f13 to your computer and use it in GitHub Desktop.
  1. Download the Java 8 SDK for Windows from Oracle. You will get a file named jdk-8u101-windows-x64.exe.
  2. Open the downloaded file with 7-Zip, which will show aa list of files and folders.
  3. Open folder '.rsrc' (select and double click this folder within 7-Zip).
  4. Open folder '1033' (or the folder of greatest size).
  5. Open folder 'JAVA_CAB10' (or the folder of greatest size).
  6. Open file '111' (or the folder of greatest size).
  7. Open file 'tools.zip'.
  8. Extract its contents to a directory where own write permissions, for example: C: \ Users \ Daniel \ Documents \ jdk-8u102-x64. To prevent issues, I recommend a directory without spaces.
  9. From within this directory, search for all .pack files and extract them using unpack2000.exe command line tool found in the bin subdirectory. Following windows prompt command does the trick when executed from within the extracted directory: for /r %i in (*.pack) do .\bin\unpack200.exe "%i" "%~pi%~ni.jar"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment