Sunday, February 21, 2016

How To Create Portable JDK


.
How To Create Portable JDK

1) Download JDK

Download to your local folder.

2) Extract Tools.zip folder

Use 7zip to extract the tools.zip to your target folder
Rename the folder (optional).

3) Setup the tools

Run Cmd Windows.
Go into the target folder (e.g. cd c:\a\jboss\jdk)
Then, type the command to extract the tools.
for /R %f in (.\*.pack) do @"c:\a\jboss\jdk\bin\unpack200" -r -v -l "" "%f" "%~pf%~nf.jar"
Done.
You can test by typing java -version.

Reference

1) https://www.whitebyte.info/programming/java/how-to-install-a-portable-jdk-in-windows-without-admin-rights

2) http://oramack.blogspot.my/2015/08/portable-jdk-8.html

.

4 comments:

  1. thanks for the tutorial. newer versions of JDK exe does not follow this .. any idea how to make it portable?

    ReplyDelete
  2. The article is nice and its pleasant to read. I have known very important things over here.
    Bangalore Web Designing Company, UI Designing Company Bangalore

    ReplyDelete
  3. A very well-written post. I read and liked the post and have also bookmarked you. All the best for future endeavors. Getting some solution regarding.
    UI Designing Company in Bangalore, Web Application Development Companies in Bangalore

    ReplyDelete