Skip to main content

Jakarta Mail Build Instructions

To download the most recent Jakarta Mail source code you’ll need git.

Once you’ve installed git, the following command will check out a copy of the source code:

% git clone

Or, to check out the version corresponding to a particular release, use a tag. For example, to check out the 1.6.4 version:

% git clone -b 1.6.4

To build Jakarta Mail you’ll need Maven.

To simply build everything, use:

% cd mail
% mvn install

You’ll find the jakarta.mail.jar file in mail/target/jakarta.mail.jar.

See Workspace Structure for a description of the workspace.

Back to the top