From fef8e76e52d5059d64a497e671be17da04af2611 Mon Sep 17 00:00:00 2001 From: Abe Pazos Date: Fri, 2 May 2025 19:01:38 +0300 Subject: [PATCH] Describe how to run the executable created by jpackage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 64ba437..9c323ea 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ You will find some [basic instructions](https://guide.openrndr.org/setUpYourFirs - `./gradlew run` runs the TemplateProgram (Use `gradlew.bat run` under Windows) - `./gradlew shadowJar` creates an executable platform specific jar file with all dependencies. Run the resulting program by typing `java -jar build/libs/openrndr-template-1.0.0-all.jar` in a terminal from the project root. If your project contains multiple `main` methods, specify which one to run with `java -cp build/libs/openrndr-template-1.0.0-all.jar MyProgramKt`, where `MyProgramKt` can also be `foo.bar.MyProgramKt` if it's in the package `foo.bar`. - - `./gradlew jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only) + - `./gradlew jpackageZip` creates a zip with a stand-alone executable for the current platform (works with Java 14 only). Run it like this: `cd build/jpackage/openrndr-application/ && bin/openrndr-application`. ## Cross builds