In this lab, you will learn how to setup the environment on your local linux machine.
Estimated Time: 10 minutes
- Configure the required JDK and Maven.
- Download the application source code.
- You must have an IDE, to modify, build and run the project.
-
In your IDE, open a terminal/console.
-
Copy the following commands and paste in the terminal. It downloads the required version of JDK and Maven and set the PATH variable to use the required Maven and JDK.
<copy>wget https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz tar -xvf apache-maven-3.8.3-bin.tar.gz</copy>
-
Copy and paste the following URL in browser and download the correct JDK 21 for your environment in your home directory.
<copy>https://www.oracle.com/in/java/technologies/downloads/</copy>
-
Extract the JDK 21 in your home folder.
For example you are downloading JDK 21 for Linux environment. Run the command similar to below in your environment.
cd ~ tar -xvf jdk-21_linux-x64_bin.tar.gz
-
Copy the following commands and paste in the terminal to download the source code of helidon application.
<copy>curl -O https://objectstorage.uk-london-1.oraclecloud.com/p/mtb2d7fzfQKf9XEuSimkOBQnmR5yfbjUwcnPaMpAN5fcd8ENKwtzzlGeOrdpkZPt/n/lrv4zdykjqrj/b/ankit-bucket/o/helidon-virtual-thread.zip</copy>
-
Copy and paste the following command to unzip the helidon-virtual-thread.zip.
<copy>unzip ~/helidon-virtual-thread.zip</copy>
You may now proceed to the next lab.
- Author - Ankit Pandey
- Contributors - Sid Joshi, Maciej Gruszka
- Last Updated By/Date - Ankit Pandey, March 2025