Describe how to run the executable created by jpackage
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user