Packaging DMG with Ant fails on OS-X 10.13.3

Michael Paus mp at
Tue Feb 13 22:36:43 UTC 2018

The bug you mentioned is indeed fixed in JDK 10 but since I upgraded my
Mac to Hight Sierra there seems to be a new one. I always get something

Exec failed with code 2 command [[/usr/bin/SetFile, -c, icnC, 
in unspecified directory

My Mac now uses APFS and I wonder whether SetFile can cope with that.
According to the docs it has long been deprecated and should not be used
anymore anyway. The build as a whole succeeds though. It just cannot
handle the volume icon although it exists and has always worked before.


Am 13.02.18 um 22:41 schrieb Kevin Rushforth:
> Have you tried with JDK 10 yet? The bug you reference is fixed in 10.
> -- Kevin
> Steve Hannah wrote:
>> I ran into this bug a couple months ago with javafx packager on High 
>> Sierra.
>> The problem is basically that hdiutil changed its default file system to
>> APFS, which breaks many things.   Ultimately I wasn't able to get javafx
>> packager to work even with the workarounds listed on that bug so just
>> generated the DMG using a 3rd party script (
>> to work around it.
>> Steve
>> On Tue, Feb 13, 2018 at 12:05 PM, Tom Schindl 
>> <tom.schindl at>
>> wrote:
>>> Hi,
>>> It looks like the packaging of JavaFX-DMGs is broken on the latest OS-X
>>> System. Has anyone ancountered the same?
>>> Tom

More information about the openjfx-dev mailing list