diff --git a/examples/README.md b/examples/README.md index 8f5dda59c92..abcc6419d9d 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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 git@github.com: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.