Skip to content
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

Adjust references to the runner JAR for the fast-jar format #2311

Merged
merged 1 commit into from
Mar 3, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/modules/ROOT/pages/user-guide/first-steps.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -155,24 +155,24 @@ This takes about 2.5 minutes (once you have all dependencies cached).
[source,shell]
----
$ mvn clean package
$ ls -lh target
$ ls -lh target/quarkus-app
...
-rw-r--r--. 1 ppalaga ppalaga 238K Oct 11 18:55 my-app-0.0.1-SNAPSHOT-runner.jar
-rw-r--r--. 1 ppalaga ppalaga 238K Oct 11 18:55 quarkus-run.jar
...
----

You can run it as follows:

[source,shell]
----
$ java -jar target/*-runner.jar
$ java -jar target/quarkus-app/quarkus-run.jar
...
[io.quarkus] (main) Quarkus started in 1.163s. Listening on: http://[::]:8080
----

Notice the boot time around a second.

The thin `jar` contains just the application code. To run it, the dependencies in `target/lib` are required too.
The thin `jar` contains just the application code. To run it, the dependencies in `target/quarkus-app/lib` are required too.

===== Native mode

Expand Down