jpackage missing “mac.Appstore” bundle type

The old retired javapackager tool used to have 3 bundle types for mac os x:

  • dmg
  • pkg
  • mac.Appstore

But the new jpackage tool only has 2 types:

  • dmg
  • pkg

The mac.Appstore type was previously used when packaging the app to be submitted to Mac Appstore.
It would automatically find two certificates (installer and application) and use it to sign both the app and pkg files.

This option doesn’t seem to exist in the new jpackage tool.

My question: is there an option to build packages for Mac Appstore with jpackage that I somehow missed? Or is this option gone forever? If so then what’s the alternative?

Answer

I submitted request to include this feature in jpackage:

https://bugs.openjdk.java.net/browse/JDK-8248904

Update: This feature is added to JDK 17

Leave a Reply

Your email address will not be published. Required fields are marked *