-
Notifications
You must be signed in to change notification settings - Fork 0
Installation Guide
Supported Operating Systems
1. Install OpenJDK 20 and Maven
Update your package manager and install OpenJDK 20 along with Maven:
sudo apt-get update && sudo apt-get install -y openjdk-20-jdk maven2. 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 and Maven Installation Check the Java and Maven versions to verify the installation:
java -version
mvn -v1. Install Java 20 and Maven
Install Java 20 and Maven using Homebrew:
brew install maven
brew install openjdk@202. Verify Java and Maven Installation
Check the Java and Maven version to confirm the installation:
java --version
mvn --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 and Maven Installation
Confirm the installation by checking the Java and Maven versions:
java --version
mvn --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.