Sign Java Launchers

Comments

3 comments

  • Avatar
    michiel

    Hi,

    Unfortunately it's currently not supported to sign Java launchers. We have added as an improvement request.

    Regards,

    Michiel

    0
    Comment actions Permalink
  • Avatar
    Cam Hart

    For anyone else looking to work around this, use launch4j to build/bundle your windows launchers. For mac use UniversalJavaApplication stub and a diy app bundle (quite easy to put together, just put the right values in Info.plist) like the first comment mentioned at https://www.google.com/amp/s/amp.reddit.com/r/javahelp/comments/a1lf0q/bundle_a_java_11_application_on_osx_infoplist/. For linux, that same universaljavaapplicationstub should be useable.

    All of that can be done and signed ahead of time.

    If anyone is aware of downsides please let me know.

    @Michiel - With the MacOS updates to gatekeeper (enforcing hardened notorized fully signed [including all jars/jre bits] apps), you guys should also make installbuilder handle signing the jre that gets bundled. Knowing what I know now--thats the solution that would make my life (and anyone whos distributing to non technical people) a lot easier (which is what I enjoy paying for).

    0
    Comment actions Permalink
  • Avatar
    michiel

    Hi Cam,

    Thanks for sharing your solution. I've added your request as a possible improvement and our engineers will evaluate it's implementation.

    Regards,

    Michiel

     

    0
    Comment actions Permalink

Please sign in to leave a comment.