{"id":454,"date":"2015-06-20T21:17:07","date_gmt":"2015-06-21T02:17:07","guid":{"rendered":"http:\/\/muthii.com\/blog\/?p=454"},"modified":"2015-06-20T21:18:22","modified_gmt":"2015-06-21T02:18:22","slug":"getting-java-as-a-zip-instead-of-exe","status":"publish","type":"post","link":"https:\/\/muthii.com\/blog\/?p=454","title":{"rendered":"Getting java JDK as a zip instead of exe"},"content":{"rendered":"<p>Sometimes you may need to have the java JDK available on your system without having to run the installer exe\/msi for different reasons. This solution worked for me with JDK8u45, I haven&#8217;t tried it with other JDK versions so your mileage might vary.<br \/>\nThanks to <a href=\"http:\/\/stackoverflow.com\/a\/25384578\/4421144\" target=\"_blank\">@Marc T<\/a> for this solution.<\/p>\n<p><code><br \/>\ncreate destination folder (c:\\jdk8)<br \/>\ndownload JDK exe from Oracle<br \/>\n7zip -> unzip into destination folder<br \/>\nOpen command prompt and enter cmd [cd c:\\jdk8]<br \/>\nEnter this command to unpack the contents of the folder [for \/r %x in (*.pack) do .\\bin\\unpack200 -r \"%x\" \"%~dx%~px%~nx.jar\"]<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you may need to have the java JDK available on your system without having to run the installer exe\/msi for different reasons. This solution worked for me with JDK8u45, I haven&#8217;t tried it with other JDK versions so your mileage might vary. Thanks to @Marc T for this solution. create destination folder (c:\\jdk8) download &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/muthii.com\/blog\/?p=454\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Getting java JDK as a zip instead of exe&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,99],"tags":[141],"_links":{"self":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/454"}],"collection":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=454"}],"version-history":[{"count":2,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/454\/revisions"}],"predecessor-version":[{"id":456,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/454\/revisions\/456"}],"wp:attachment":[{"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=454"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=454"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muthii.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=454"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}