From 7b14eaa08694abf101e99d28ca8452be371697e5 Mon Sep 17 00:00:00 2001 From: "Joshua D. Boyd" Date: Thu, 26 Jun 2025 02:25:34 -0400 Subject: [PATCH 1/2] Update BUILD.md with directions for CLI build Add directions for building Processing from the command line (no IDE) on Ubuntu 24.04. --- BUILD.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/BUILD.md b/BUILD.md index ecc8966b4..926a2daf6 100644 --- a/BUILD.md +++ b/BUILD.md @@ -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 + +``` +sudo apt install openjdk-17-jdk openjdk-17-source +export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ +./gradlew build +./gradlew tets +./gradlew package +``` ## Troubleshooting and Setup Tips (IntelliJ IDEA) From a01d3b50fa457d641346614bd6fd436247224d48 Mon Sep 17 00:00:00 2001 From: "Joshua D. Boyd" Date: Sun, 29 Jun 2025 09:33:46 -0400 Subject: [PATCH 2/2] Update install directions to use Temurin JDK, and be less platform specific. --- BUILD.md | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/BUILD.md b/BUILD.md index 926a2daf6..98d829c9a 100644 --- a/BUILD.md +++ b/BUILD.md @@ -62,15 +62,33 @@ If your main concern is with the `Core` you don't need to build and start the wh ## Other editors -### No editor, Ubuntu 24.04 +### No editor, Linux or macOS + +The first step is to install Temurin JDB 17 - LTS. +For Linux on x86, download: +https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_x64_linux_hotspot_17.0.15_6.tar.gz + +For macOS users on Apple Silicon, download: +https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.15%2B6/OpenJDK17U-jdk_aarch64_mac_hotspot_17.0.15_6.pkg + +For everyone else, visit: +https://adoptium.net/temurin/releases/?package=jdk&version=17&os=any&arch=any + ``` -sudo apt install openjdk-17-jdk openjdk-17-source -export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ +export JAVA_HOME=/path/to/temurin/jdk-17.0.15+6/ ./gradlew build -./gradlew tets +./gradlew test +``` + +Then either: +``` ./gradlew package ``` +which will result in the package being placed in `app/build/compose/binaries`, or +``` +./gradlew run +``` ## Troubleshooting and Setup Tips (IntelliJ IDEA)