jpackager should use jopt for the argument parsing (to be fully compatible with the GNU style of options).
Using jdk.internal.joptsimple could remove some duplicated code and make it consistent with other jdk tools.
Using jdk.internal.joptsimple could remove some duplicated code and make it consistent with other jdk tools.