From 3baf48c52c0ceb719d3c78d124c92c152eed81ff Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Tue, 20 Apr 2021 13:48:21 -0700 Subject: [PATCH 1/2] Add prereqs to CLI page --- docs/about/05_cli.adoc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/docs/about/05_cli.adoc b/docs/about/05_cli.adoc index b1ce447b063..5af0fd5342b 100644 --- a/docs/about/05_cli.adoc +++ b/docs/about/05_cli.adoc @@ -28,10 +28,28 @@ compilation and application restart, so you can easily iterate over source code changes. The CLI is distributed as a standalone executable (compiled using GraalVM) for -ease of installation. It is currently available as download for Linux and Mac. +ease of installation. It is currently available as a download for Linux, Mac and Windows. Simply download the binary, install it at a location accessible from your PATH and you’re ready to go. +== Prerequisites + +Helidon requires Java 11 (or newer) and Maven. + +[role="flex, sm7"] +|======= +|https://www.oracle.com/technetwork/java/javase/downloads[Java{nbsp}SE{nbsp}11] (http://jdk.java.net[Open{nbsp}JDK{nbsp}11]) or newer +|https://maven.apache.org/download.cgi[Maven 3.6.1+] +|======= + +You should make sure `java` and `mvn` are in your path. + +[source,bash] +---- +java -version +mvn --version +---- + == Installation [source,bash] From 2e7f52ddae9e51d2fe2d3b7673634d9e3344b71c Mon Sep 17 00:00:00 2001 From: Joe Di Pol Date: Tue, 20 Apr 2021 13:58:57 -0700 Subject: [PATCH 2/2] Update HELIDON-CLI.md and README.md with prereq and windows info --- HELIDON-CLI.md | 16 +++++++++++++++- README.md | 5 +++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/HELIDON-CLI.md b/HELIDON-CLI.md index a0838d856db..bad9d0ba091 100644 --- a/HELIDON-CLI.md +++ b/HELIDON-CLI.md @@ -6,6 +6,20 @@ a set of archetypes. It also supports a developer loop that performs continuous compilation and application restart, so you can easily iterate over source code changes. +## Prerequisites + +Helidon requires Java 11 (or newer) and Maven 3.6.1 or newer. + +* [Java SE](https://www.oracle.com/technetwork/java/javase/downloads) +* [Maven](https://maven.apache.org/download.cgi) + +You should make sure `java` and `mvn` are in your path. + +```bash +java -version +mvn --version +``` + ## Install MacOS: @@ -49,4 +63,4 @@ restart your application.

-

\ No newline at end of file +

diff --git a/README.md b/README.md index e586b43375a..2372505de99 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,11 @@ chmod +x ./helidon sudo mv ./helidon /usr/local/bin/ ``` +Windows: +```bat +PowerShell -Command Invoke-WebRequest -Uri "https://helidon.io/cli/latest/windows/helidon.exe" -OutFile "C:\Windows\system32\helidon.exe" +``` + See this [document](HELIDON-CLI.md) for more info. ## Build