The repository uses JDK 27 and Maven 3.9+. Maven can be run through the
repository's Maven Wrapper (mvnw or mvnw.cmd), so a separate Maven
installation is optional. The helper scripts select JDK 27 for the current
terminal session only.
They do not change the machine's global Java default.
macOS:
source scripts/use-java-27-mac.shLinux (Zsh or Bash; source the helper in your current shell):
source scripts/use-java-27-linux.shThe switch applies to this shell session and its child processes; changing directories does not undo it. The SDKMAN default stays unchanged. Open a fresh terminal to use your default JDK again.
Windows with Git Bash:
source scripts/use-java-27-windows.shWindows with PowerShell:
. .\scripts\use-java-27-windows.ps1If PowerShell blocks local scripts, allow them for the current session only:
Set-ExecutionPolicy -Scope Process Bypass
. .\scripts\use-java-27-windows.ps1On macOS, the helper normally selects a registered JDK 27 through
/usr/libexec/java_home. Pass a JDK home explicitly when it is installed in a
custom location:
source scripts/use-java-27-mac.sh /Users/jrodolfo/Library/Java/JavaVirtualMachines/jdk-27.jdk/Contents/HomeThe Linux helper searches JAVA27_HOME, JDK27_HOME, common JDK directories, and SDKMAN candidates. Pass a JDK path explicitly when needed:
source scripts/use-java-27-linux.sh /usr/lib/jvm/jdk-27The Windows helpers search JAVA27_HOME, JDK27_HOME, C:\dev\apps, and common Program Files locations. Both Windows helpers also accept an explicit JDK path when needed:
source scripts/use-java-27-windows.sh /c/dev/apps/jdk-27. .\scripts\use-java-27-windows.ps1 -JavaHome C:\dev\apps\jdk-27java --version
javac --version
mvn --versionThese tools are optional if you run Maven commands directly, but they are needed for the repository-level convenience and documentation targets:
- GNU Make runs the repository-level
targets such as
make run-tests,make generate-docs,make run-demos, andmake check-release. Maven remains usable without Make. - Node.js runs the local
documentation navigation audit used by
make audit-docs,make check-docs, andmake check-release. lycheechecks Markdown and HTML links formake check-links,make check-docs, andmake check-release.
Install each tool using your operating system's package manager or the linked official installation instructions. Verify the optional tools with:
make --version
node --version
lychee --versionUse make check-release for the complete local validation gate.