Skip to content

1. Preparing your environment

1.1 Prerequisites

  • Maven CLI;
  • Git CLI;
  • Java 11;
  • An IDE of your preference;
  • Command line (terminal). If using Windows, PowerShell is recommended;
  • Helidon CLI (optional);
  • REST client tools like cURL or postman (Optional);

Tip

The Helidon CLI can be used alternatively if you want to rely on features only available through this tool.

To check if you have the above tools installed, open your terminal and running the following the commands. You should be able to see the version of each of the tools:

java -version
mvn -version
git --version

1.1.1 Installing helidon CLI (optional)

To install Helidon, you can run the commands below according to your O.S:

MacOS:

curl -O https://helidon.io/cli/2.3.3/darwin/helidon
chmod +x ./helidon
sudo mv ./helidon /usr/local/bin/

Linux:

curl -O https://helidon.io/cli/2.3.3/linux/helidon
chmod +x ./helidon
sudo mv ./helidon /usr/local/bin/

Windows:

PowerShell -Command Invoke-WebRequest -Uri "https://helidon.io/cli/2.3.3/windows/helidon.exe" -OutFile "C:\Windows\system32\helidon.exe"

You can verify the installation by running in the terminal:

helidon version

Helidon CLI is available for Helidon 2+.

1.2 Prepare your working directory

To get started with the labs, first you need to clone the foundation project and have it available in your local development environment.

Info

The guided exercises are built on top of quickstart projects, a foundation set of preconfigured projects.

To get the foundation projects and build them, execute:

git clone https://github.com/architects4j/devoxx-be-2022.git
cd helidon-microstream-training-labs-foundation
mvn clean package

The build and packaging should complete successfully.


Last update: 2022-10-11
Back to top