jpackage on MacOS - ./Contents/Contents/app/myapp.cfg file not found

Michael Hall mik3hall at gmail.com
Wed Jul 21 21:57:04 UTC 2021



> On Jul 21, 2021, at 3:57 PM, Andy Herrick <andy.herrick at oracle.com> wrote:
> 
> Looks like an instance of: JDK-8260335 <https://bugs.openjdk.java.net/browse/JDK-8260335> : [macos] Running app using relative path causes problems (fixed in jdk17 build b09)
> 
> you can try builds from https://jdk.java.net/17/ to confirm fix.
> 
> /Andy
> 
> On 7/21/2021 4:46 PM, Bruno Borges wrote:
>> Hi all,
>> 
>> Been trying to use Java 16.0.1 to produce a PKG for the fx2048 [1] game, and the generated app-image comes with a binary launcher that tries to load the .cfg file from the wrong directory.
>> 
>> 
>>         ├── PkgInfo

Somewhat off-topic. I hadn't noticed that PkgInfo was included on my applications? It used to have creator/type OSType’s needed for AppleEvent’s to work properly but since creator/type are pretty much out of use I thought PkgInfo was too?



More information about the core-libs-dev mailing list