-
Notifications
You must be signed in to change notification settings - Fork 0
Run
Frank Mayer edited this page Jun 9, 2023
·
10 revisions
Use the run command to compile and execute your project.
jack run
builds your project and executes it on success. If there is no project file in the current working directory, jack
tries to find one in the parent directories (recursively).
Let jack
find the entry point:
jack run
Pass the entry point:
jack run --entry-point <entry point>
To pass arguments to your Java application, use two dashes followed by the arguments:
jack run --entry-point <entry point> -- foo bar baz
jack run -- foo bar baz
Short of --entry-point
is -ep
.
mvn -f <project file> compile exec:java -Dexec.mainClass=<entry point>
Published under GPL-3.0 license