-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Update your package manager and install OpenJDK 20:
sudo apt-get update && sudo apt-get install -y openjdk-20-jdkSDKMAN! helps manage Java versions. Install it by running:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"Install Java 20 with SDKMAN! and set it as the default:
sdk install java 20-open
sdk default java 20-openCheck the Java version to verify the installation:
java --versionIf not installed, install Homebrew by running:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Install Maven using Homebrew:
brew install mavenInstall Java 20 with Homebrew:
brew install openjdk@20Check the Java version to confirm the installation:
java --versionIf Chocolatey is not installed, open PowerShell as Administrator and run:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))Use Chocolatey to install Java 20 and Maven:
choco install openjdk --version=20
choco install mavenConfirm the installation by checking the Java version:
java --versionAfter installing the required dependencies, follow these steps on Linux, MacOS, or Windows:
Clone the repository by running:
git clone https://github.com/DmitriLezama/autograder.gitMove into the project directory:
cd autograderClean and package the project with Maven:
mvn clean packageRun the application using the packaged JAR file:
java -jar target/autograder-1.0-SNAPSHOT-jar-with-dependencies.jarThe application should now be running successfully.