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 tools.zip, 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