Skip to content

Add compiled universalJavaApplicationStub as option #187

Description

@AstroPixelProcessor

I'm submitting a…

  • [ X ] bug report
  • [ X ] feature request

Short description of the issue/suggestion:
Without using a binary of the universalJavaApplicationStub for macOS packaging, the java Swing JFileCHooser can not access the user's Documents/Downloads/Desktop folders. So I would suggest to add an option to Java-packager in which the user can choose whether to use a script or binary universalJavaApplicationStub. The binary should work always, the script can give issues with for instance JFileChooser. The binary does not an extra dependency: the shc shell compiler:

https://github.com/neurobin/shc

What is the expected behavior?

A working application that passes notarisation with hardened runtime codesigning and with a working JFileChooser.

What is the current behavior?

An application that passes notarisation with hardened runtime codesigning BUT without a working JFileChooser.

Please tell us about your environment:

  • JavaPackager version: 1.6.7-SNAPSHOT
  • OS version: macOS 11.0.1
  • JDK version: Temurin OpenJDK 17
  • Build tool:
    • [X ] Maven
    • Gradle

I will submit a Pull Request with my suggestion ;-)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or requestfixedIssue fixed and release pending

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions