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 #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


Description
A user reported on Reddit that exported applications from Processing 4 fail to launch on macOS, showing a
JRExLoadFullErrororJRELoadErrorpopup.Edit: Exporting on macOS may also throw error
java.util.NoSuchElementException: No value present. See #1193Cause
The export logic in
JavaBuild.javalooks for a directory that starts withjdk-, but in our current setup, the embedded JDK starts withjdk(without the dash). This causes the path resolution to fail, and no JRE is bundled, leading to theJRExLoadFullError.Screenshots