Prerequisites
Required Software
Install Java 17
Sakai requires Java 17 for the current trunk development (Java 11 was used for Sakai 22 and 23).You should see Java 17 or higher.
Install Apache Maven
Maven is used to build Sakai from source. You can either install Maven system-wide or use the included Maven wrapper (
./mvnw).Install Apache Tomcat 9
Download and extract Apache Tomcat 9 from http://tomcat.apache.org.
Configure Tomcat
You must configure Tomcat according to the Sakai installation guide:Sakai 21 Install Guide - SourceThis includes setting up memory parameters, library paths, and Sakai configuration directories.
Clone the Repository
Fork and Clone
Fork the Sakai repository
Fork the Sakai repository to your GitHub account.
Database Setup
Sakai supports multiple databases for development:IDE Setup
IntelliJ IDEA
Import as Maven project
Open IntelliJ IDEA and select File > Open, then choose the Sakai root directory.
Configure Project SDK
Ensure the Project SDK is set to Java 17:
- File > Project Structure > Project > SDK
Eclipse
Import as Maven project
- File > Import > Maven > Existing Maven Projects
- Select the Sakai root directory
VS Code
Install Java extensions
Install the following extensions:
- Extension Pack for Java
- Spring Boot Extension Pack
- Maven for Java
Frontend Development Setup
For working with Sakai’s web components:Install Node.js
Install Node.js 18 or higher from nodejs.org.
Verify Installation
Test your development environment:Next Steps
Building Sakai
Learn how to build and deploy Sakai to Tomcat
Tool Development
Start developing Sakai tools and modules
Web Components
Build modern UI components with Lit
Contributing
Understand the contribution workflow