← All tasks
javaOpenRefine/OpenRefine #7894Not a task: not reproduced

JRELoadError trying to load bundled Java 21 JRE for Mac OS X

envgap__OpenRefine__OpenRefine-7894

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
3f63cedb4bcc5c28164168187340e29470de9326
Manifest
packaging/pom.xml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

OpenRefine/OpenRefine #7894 · read the original issue
We currently use 
```
  <groupId>sh.tak.appbundler</groupId>
  <artifactId>appbundle-maven-plugin</artifactId>
```
as our Java bundler to build for Mac OS X, but as pointed out in #2067 , it [doesn't support recent versions of Java](https://github.com/federkasten/appbundle-maven-plugin/issues/61), most likely due to this change for Java 12 that changed the path to libjli.dylib which is used by the loader. When you try to launch the app, you get an enigmatic JRELoadError with no additional detail.

It's not clear what the best replacement is. https://github.com/perdian/macosappbundler-maven-plugin started as a fork of our current plugin, but is no longer a drop-in replacement

```
        <groupId>de.perdian.maven.plugins</groupId>
        <artifactId>macosappbundler-maven-plugin</artifactId>
```

There may be other options, but more investigation is required.
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]