Monday, May 18, 2015

Extract JDK 8 on Windows without the installer

That's something useful when you don't have admin rights on your machine. So :

  1. Download the JDK from Oracle (the Windows version of course)
  2. Open the file with the archiver (7-zip) and extract its content
  3. You will get a file, extract it in a dedicated folder. This will extract all the jdk files except jar files
  4. Open a command line and go to this folder. Run the following command that will convert all 'pack' files into 'jar' files : for /r %i in (*.pack) do .\bin\unpack200.exe "%i" "%~pi%~ni.jar"
  5. Enjoy your new jdk!

1 comment:

simashree said...

Thanks for the great information in your blog Selenium Training in Chennai

Download Oracle JDK from command line

Found on the web. You can adapt the url with one grabbed from Oracle JDK download page. What I love here is the fact is send Oracle licence ...