Introduction

This page describes what is necessary to configure your environment for an Apache Tomcat release build. Many of these steps only need to be taken a single time, but you may need to review them when something changes such as versions of toolchain components, or updating signing key(s), etc.

Prerequisites

Platform-Specific Notes

Windows

Installation of the necessary support packages can be performed on a Windows 10 Virtual Machine from Microsoft's Edge Development resources. Download + unpack the archive for your VM software and launch the VM. Login, open a PowerShell.exe window as Administrator, and installed Chocolatey:

PS C:\Users\IEUser> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Once Chocolatey is installed, you can install all the above prerequisites at once:

PS C:\Users\ISUser> choco install git svn adoptopenjdk11 ant gnupg sed xsltproc

This command will run for a while, and ask you repeatedly if it's okay to run "chocolateyInstall.ps1", which you will have to do to proceed. Once the above command has completed, you have all the software prerequisites installed and on your PATH. Well, once you quit PowerShell and launch a new CMD.EXE or PowerShell window, of course (wink)

MacOS

12.x (Monterey), 13.x (Ventura), and 14.x (Sonoma)

11.x.x (Big Sur) - old instructions

Linux