forked from helidon-io/helidon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update examples README (helidon-io#3125)
- Loading branch information
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
|
||
Welcome to the Helidon Examples! If this is your first experience with | ||
Helidon we recommend you start with our | ||
[quickstart](https://helidon.io/docs/latest/#/getting-started/02_base-example). | ||
[quickstart](https://helidon.io/docs/v2/#/about/03_prerequisites) | ||
That will quickly get you going with your first Helidon application. | ||
|
||
After that you can come back here and dig into the examples. To access | ||
|
@@ -15,11 +15,11 @@ these examples we recommend checking out from a released tag. For example: | |
``` | ||
git clone [email protected]:oracle/helidon.git | ||
cd helidon | ||
git checkout tags/1.0.0 | ||
git checkout tags/2.0.0 | ||
``` | ||
|
||
Our examples are Maven projects and can be built and run with | ||
Java 8 or Java 11 -- so make sure you have those: | ||
Java 11 or newer -- so make sure you have those: | ||
|
||
``` | ||
java -version | ||
|
@@ -35,10 +35,11 @@ just `cd` to the directory and run `mvn package`: | |
cd examples/microprofile/hello-world-explicit | ||
mvn package | ||
``` | ||
Usually you can then run the example using: | ||
|
||
Usually the example will produce an application jar file that you can run: | ||
|
||
``` | ||
mvn exec:java | ||
java -jar target/example-name.jar | ||
``` | ||
|
||
But always see the example's `README` for details. |