Skip to content

Commit

Permalink
Update examples README (helidon-io#3125)
Browse files Browse the repository at this point in the history
  • Loading branch information
barchetta authored Jun 21, 2021
1 parent 1c08b6a commit bfe6faf
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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.

0 comments on commit bfe6faf

Please sign in to comment.