unpack200(1)

πŸ’– unpack200(1) β€” Java Deployment Tools πŸ’–

okay bestie, gather round, because this is the unpack200 manual page and she is serving utility. this is the Java Deployment Tools era, the vibe is "i unzip things for the web and i do it natively", and honestly? iconic. let's get into it. ✨


🌸 NAME 🌸

unpack200 β€” Transforms a packed file produced by pack200(1) into a JAR file for web deployment.

like. she unpacks. she transforms. she deploys to the web. main character energy fr fr. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

unpack200 [ options ] input-file JAR-file

options : The command-line options. See Options. (yes bestie, there's a whole section, we'll get there, breathe πŸ’…)

input-file : Name of the input file, which can be a pack200 gzip file or a pack200 file. The input can also be JAR file produced by pack200(1) with an effort of 0, in which case the contents of the input file are copied to the output JAR file with the Pack200 marker. (not me finding a little loophole in the file format 😭)

JAR-file : Name of the output JAR file. this is where the magic lands, bestie. πŸ‘‘


✨ DESCRIPTION ✨

so the unpack200 command is a native implementation that transforms a packed file produced by pack200(1) into a JAR file. lowkey she's the reverse card of pack200. πŸ”₯

a typical usage follows. in the following example, the myarchive.jar file is produced from myarchive.pack.gz with the default unpack200 command settings.

unpack200 myarchive.pack.gz myarchive.jar

look at her go. no cap, that's the whole thing. ⭐


πŸ’… OPTIONS πŸ’…

  • -Hvalue, --deflate-hint=value β€” Sets the deflation to be true, false, or keep on all entries within a JAR file. The default mode is keep. If the value is true or false, then the --deflate=hint option overrides the default behavior and sets the deflation mode on all entries within the output JAR file. so yes she's bossy about deflation and yes she said "all entries", she meant it. πŸ™ˆ
  • -r, --remove-pack-file β€” Removes the input pack file. gone. deleted. she said bye bestie, no leftovers. πŸ’€
  • -v, --verbose β€” Displays minimal messages. Multiple specifications of this option displays more verbose messages. so one -v is like a lil whisper and stacking them is like her texting you the whole play-by-play. the way that works. 😭
  • -q, --quiet β€” Specifies quiet operation with no messages. she is not talking. silence. peace. serene. 🧚
  • -lfilename, --log-file=filename β€” Specifies a log file where output messages are logged. receipts, bestie. she keeps receipts. πŸ“
  • -?, -h, --help β€” Prints help information about the unpack200 command. three whole ways to ask for help, she's accommodating like that. πŸ’–
  • -V, --version β€” Prints version information about the unpack200 command. who is she? which build? find out. ✨
  • -Joption β€” Passes option to the Java Virtual Machine, where option is one of the options described on the reference page for the Java application launcher. For example, -J-Xms48m sets the startup memory to 48 MB. See java(1). yes she's sliding notes directly to the JVM, iykyk. πŸ¦‹

🌈 NOTES 🌈

this command should not be confused with the unpack command. They are distinctly separate products. like, do not. they are NOT the same girl. πŸ’€

The Java SE API Specification provided with the JDK is the superseding authority in case of discrepancies. so if this page and the spec ever disagree, the spec wins, that's just the rules. πŸ‘‘


⭐ EXIT STATUS ⭐

the following exit values are returned: 0 for successful completion, and a value that is greater than 0 when an error occurred.

that's it. 0 = slay, >0 = something went wrong bestie. 🌸


πŸ”₯ SEE ALSO πŸ”₯


okay that's the whole page, you ate that. 🫢 this was the JDK 8 version, dated 21 November 2013, from your fave Java Deployment Tools girlie β€” go forth and unpack, bestie, and remember: it's unpack200, not unpack. periodt. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from