Skip to content

bundleJRE not working on Mac - is Apple Silicon supported? #116

Open

Description

@Robert-Adelard

Hello,

I'm attempting to bundle a JRE with my application, but when I start up the application, I see the error message:

Unable to load Java Runtime Environment

I've looked inside the application package and everything looks OK - in particular, the Plugins folder contains a JRE.

This has previously worked on an Intel MacBook Pro, so I'm wondering whether the problem is caused by using an M1 MacBook Pro.

Any thoughts on what might be wrong or how to debug the problem?

Thanks.

Robert

Activity

  1. Horcrux7 commented on Feb 6, 2023

    @Horcrux7
    Member

    You need to build two installer. One for every platform. You need to bundle the Java VM for the given platform. A sample can found ind the PDFC download.

    You need also set the architecture for the dmg task in this case.

    Theoretical it is possible to build an installer for both with an x86 Java VM with a limited function and limited performance.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions