processing / processing/processing4

macOS exported app fails with `JRExLoadFullError`

Open
#1,141 19 comments 0 reactions 1 assignee View on GitHub

@catilac is already working on this.

Since Mar 5, 2026.

bug build system
Dominant language
Java
Stars
494
Forks
183
Avg merge
4h 39m
Merged PRs (30d)
3

Description

Description

A user reported on Reddit that exported applications from Processing 4 fail to launch on macOS, showing a JRExLoadFullError or JRELoadError popup.

Edit: Exporting on macOS may also throw error java.util.NoSuchElementException: No value present. See https://github.com/processing/processing4/issues/1193

Cause

The export logic in JavaBuild.java looks for a directory that starts with jdk-, but in our current setup, the embedded JDK starts with jdk (without the dash). This causes the path resolution to fail, and no JRE is bundled, leading to the JRExLoadFullError.

Screenshots

Image
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.