-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
1. Install OpenJDK 20
Update your package manager and install OpenJDK 20:
sudo apt-get update && sudo apt-get install -y openjdk-20-jdk2. Install SDKMAN!
SDKMAN! helps manage Java versions. Install it by running:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"3. Set Java 20 as Default
Install Java 20 with SDKMAN! and set it as the default:
sdk install java 20-open
sdk default java 20-open4. Verify Java Installation
Check the Java version to verify the installation:
java --version5. Veryifying the Maven Insatllation Ensure maven is installed by running
mvn --version2. Install Maven
Install Maven using Homebrew:
brew install maven3. Install Java 20
Install Java 20 with Homebrew:
brew install openjdk@204. Verify Java Installation
Check the Java version to confirm the installation:
java --version1. Install Chocolatey
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'))2. Install Java 20 and Maven
Use Chocolatey to install Java 20 and Maven:
choco install openjdk --version=20
choco install maven3. Verify Java Installation
Confirm the installation by checking the Java version:
java --versionAfter installing the required dependencies, follow these steps on Linux, MacOS, or Windows:
1. Clone the Repository
Clone the repository by running:
git clone https://github.com/DmitriLezama/autograder.git2. Navigate to the Project Directory
Move into the project directory:
cd autograder3. Build the Project
Clean and package the project with Maven:
mvn clean package4. Run the Application
Run the application using the packaged JAR file:
java -jar target/autograder-1.0-SNAPSHOT-jar-with-dependencies.jarThe application should now be running successfully.