JDK-8230654 : jpackage package-type dmg on macOS
  • Type: Enhancement
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: internal
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2019-09-05
  • Updated: 2020-03-10
  • Resolved: 2019-09-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
internalFixed
Related Reports
Relates :  
Relates :  
Description
 It���d be nice if the resulting `.dmg` file, when opened, were to show
    an icon for the Applications folder and an arrow pointing to that
    from the app icon, so that the user can drag it across.  Almost all
    `.dmg` files that I���ve seen do this.

Comments
Running package from: openjdk 14 2020-03-17 OpenJDK Runtime Environment (build 14+36-1461) OpenJDK 64-Bit Server VM (build 14+36-1461, mixed mode, sharing) The resulting DMG has the icon "off the screen" to the right such that there is nothing but empty space before the arrow indicating the app should be dragged to the applications folder.
10-03-2020

http://cr.openjdk.java.net/~almatvee/8230654/webrev.01/ - Added link to "/Application" folder to DMG for drag and drop app to this folder. - Added background image with arrow pointing from App icon to Application folder. - If adding link and image to DMG fails it will not be considered critical error. In headless environment it might not work correctly. - See JBS issue for screenshot on how DMG will looks like with this fix.
18-09-2019