You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"1. Clone processing4 repo, and move to the project directory.
./gradlew run
Hit the Run button, and get exception
java.io.IOException: Cannot run program "(...)/processing4/app/bin/java": error=2, No such file or directory
"
snippet
Additional context
After examining around processing.app.Platform.getJavaHome(), I realized that Processing cannot find java when the resource directory (app/build/compose/tmp/prepareAppResources in my case) does not contain it.
Is the directory supposed to contain a sort of JAVA_HOME for Processing, or should it just use system java as a fallback?
Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered:
Thank you for your quick reply.
I tried the branch of #1054, and the build process (./gradlew run more precisely) failed with
> Task :app:includeJdk FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:includeJdk'.
> Couldn't follow symbolic link '/usr/lib/jvm/java-17-openjdk-amd64/lib/src.zip'.
I just realized that /usr/lib/jvm/java-17-openjdk-amd64/lib/src.zip is indeed a symbolic link to ../../openjdk-17/src.zip which does not exist untill openjdk-17-source is installed (in Ubuntu).
After installing it, the build is completed.
Most appropriate sub-area of Processing 4?
Build process
Processing version
commit hash ecd219b
Operating system
Linux (Ubuntu 20.04)
Steps to reproduce this
"1. Clone processing4 repo, and move to the project directory.
./gradlew run
Hit the
Run
button, and get exception"
snippet
Additional context
After examining around
processing.app.Platform.getJavaHome()
, I realized that Processing cannot findjava
when the resource directory (app/build/compose/tmp/prepareAppResources
in my case) does not contain it.Is the directory supposed to contain a sort of
JAVA_HOME
for Processing, or should it just use systemjava
as a fallback?Would you like to work on the issue?
Yes
The text was updated successfully, but these errors were encountered: