Skip to content

Setting jpackageHome no longer working #164

Description

@danielpeintner

Hi,

I am trying to use a different JDK on MacOS for the jpackage commands compared to the JDK used for the app itself.
Therefore, there is the option jpackageHome (see https://badass-runtime-plugin.beryx.org/releases/latest/#_jpackage)

I am pretty sure I used it already in the past but I no longer manage to get it working.

I tried several things

jpackageHome = '/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home'
jpackageHome = '/usr/libexec/java_home -v 21'
jpackageHome = '$(/usr/libexec/java_home -v 21)'

Am I using the right syntax or is there anything else I need to do?

I also tried to set via the console

export BADASS_RUNTIME_JPACKAGE_HOME=/usr/libexec/java_home -v 21``

Anyhow, it still picks the default JDK I am starting gradle with.

Is this option still working?

Note: I am using the latest version of the plugin.

id 'org.beryx.runtime' version '2.0.0'

Thank you for any advice. Thanks!

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions