-
-
Notifications
You must be signed in to change notification settings - Fork 335
Arctic Project Guide
Section 1: Introduction
Some Text To Go Here!
Section 2: Installation
This guide provides step-by-step instructions for setting up your environment, downloading and installing an appropriate Temurin JDK 17 binary, configuring environment variables, and building the Corretto Arctic project from the command line.
- A Git client installed on your system.
- Administrative privileges (where necessary).
To get started, clone the GitHub repository to your local machine. Open a terminal and run:
git clone https://github.com/corretto/arctic.git
cd arctic
This command downloads the repository and navigates into the arctic directory.
The Temurin JDK 17 binary needs to be installed for your platform. Below are instructions for Linux, Windows, and macOS.
curl -L -o temurin.tar.gz "https://api.adoptium.net/v3/binary/latest/17/ga/linux/x64/jdk/hotspot/normal/eclipse"
tar -xzf temurin.tar.gz
mv jdk-* temurin-jdk17
Invoke-WebRequest -Uri "https://api.adoptium.net/v3/binary/latest/17/ga/windows/x64/jdk/hotspot/normal/eclipse" -OutFile "temurin.zip"
Expand-Archive -Path "temurin.zip" -DestinationPath "temurin-jdk17"
curl -L -o temurin.tar.gz "https://api.adoptium.net/v3/binary/latest/17/ga/mac/x64/jdk/hotspot/normal/eclipse"
tar -xzf temurin.tar.gz
mv jdk-* temurin-jdk17
In the shell, set the environment variables for JAVA_HOME & PATH
export JAVA_HOME=$(pwd)/temurin-jdk17
export PATH=$JAVA_HOME/bin:$PATH
Apply the changes:
source ~/.bashrc # or source ~/.zshrc
$env:JAVA_HOME = "$(Get-Location)\temurin-jdk17"
$env:Path += ";$env:JAVA_HOME\bin"
To make these changes permanent, update the system environment variables manually:
- Open System Properties > Advanced > Environment Variables.
- Add a new variable
JAVA_HOMEpointing to the extractedtemurin-jdk17folder. - Append
%JAVA_HOME%\binto thePathvariable.
Confirm that the correct JDK version is installed:
java -version
The output should indicate JDK 17 from Eclipse Temurin:
openjdk version "17.0.x" 202x-xx-xx
Navigate to the project root directory:
cd .. # Move to the project root
Run the Gradle build command:
./gradlew build # Linux/macOS
.\gradlew.bat build # Windows
This will download dependencies and build the project.
You have successfully cloned the repository, installed the Temurin JDK 17, set up environment variables, and built the project using Gradle. The built Arctic.jar should be in the build/Jars subdirectory of the base arctic directory
Section 3: Configuration
Configuration Tips
Section 4: Recording A Test
Useful Information About Recording
Section 5: Playing Back A Test
Useful Information About Playback
Section 6: Troubleshooting Tips & Tricks
Troubleshooting Tips