正文

Java 8, extract JDK from .exe

(2016-01-30 07:13:53) 下一个
  • Create destination folder where you can RWX (e.g. C:\jdk8)
  • Download jdk exe from Oracle (e.g. jdk-8u72-windows-x64.exe)
  • use 7-Zip extract all the files from .exe
  • Unzip the tools.jar found inside it into the destination folder
  • In cmd.exe, run:
    • cd C:\jdk8
    • for /r %x in (*.pack) do .\bin\unpack200 -r "%x" "%~dx%~px%~nx.jar"

This solution works for JDK 8, without Admin rights.

[ 打印 ]
阅读 ()评论 (0)
评论
目前还没有任何评论
登录后才可评论.