.jar pack: Difference between revisions
Jump to navigation
Jump to search
Created page with "==== Creating the .jar.pack ==== Take the desired .jar file and run it through the pack200 tool that comes with the JDK. === How to use Pack200 on Windows === Copy pack200.ex..." |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:Create .jar pack files}} | |||
== Creating the .jar.pack == | |||
Take the desired .jar file and run it through the pack200 tool that comes with the JDK. | Take the desired .jar file and run it through the pack200 tool that comes with the JDK. | ||
== How to use Pack200 on Windows == | |||
[[File:Jarpack.png|thumb]] | |||
Copy pack200.exe and jli.dll from the JDK folder, to the folder with the .jar file in. Use CD to get to the folder using the Command Prompt. Run the following code, and you should have a .pack file | Copy pack200.exe and jli.dll from the JDK folder, to the folder with the .jar file in. Use CD to get to the folder using the Command Prompt. Run the following code, and you should have a .pack file | ||
Line 8: | Line 10: | ||
(That command makes launcher.jar.pack from launcher-X.Y.Z-all.jar in the same folder.) | (That command makes launcher.jar.pack from launcher-X.Y.Z-all.jar in the same folder.) | ||
[[File:End result.png|thumb]] | |||
__INDEX__ |
Latest revision as of 18:57, 17 January 2021
Creating the .jar.pack
Take the desired .jar file and run it through the pack200 tool that comes with the JDK.
How to use Pack200 on Windows
Copy pack200.exe and jli.dll from the JDK folder, to the folder with the .jar file in. Use CD to get to the folder using the Command Prompt. Run the following code, and you should have a .pack file
pack200 --no-gzip launcher.jar.pack launcher-X.Y.Z-all.jar
(That command makes launcher.jar.pack from launcher-X.Y.Z-all.jar in the same folder.)