Skip to content

'gradlew run' cannot run sketch #1058

Closed
@Junology

Description

@Junology

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.

  1. ./gradlew run

  2. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions