Skip to content

Update BUILD.md with directions for CLI build #1160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jd-boyd
Copy link

@jd-boyd jd-boyd commented Jun 26, 2025

Add directions for building Processing from the command line (no IDE) on Ubuntu 24.04.

Add directions for building Processing from the command line (no IDE) on Ubuntu 24.04.
Copy link
Collaborator

@Stefterv Stefterv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @jd-boyd Thank you for the suggestion! I agree that we should add instructions to build from source. I added some comments on what could be improved

### No editor, Ubuntu 24.04

```
sudo apt install openjdk-17-jdk openjdk-17-source
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use the Terumin 17 JDK distribution

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will update to that then.

sudo apt install openjdk-17-jdk openjdk-17-source
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
./gradlew build
./gradlew tets
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

@@ -62,7 +62,15 @@ If your main concern is with the `Core` you don't need to build and start the wh

## Other editors

TBD
### No editor, Ubuntu 24.04
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This title can be more general? I think this approach would work more distros than just Ubuntu 24.04 correct?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It can be more general. As written, it wouldn't work for anything not Debian based, but Temurin seems to prefer being installed by extracting a tarball, so updating the directions to that will make it more general across all linux distros and perhaps macOS.

export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/
./gradlew build
./gradlew tets
./gradlew package
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should mention that this will create the package in the app/build/compose/binaries folder, I think we should also mention Processing can launched directly with run

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for those notes, I will add them as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants