Skip to main content
Last updated April 22, 2013 20:42, by Bill Shannon
Feedicon  

JavaMail Build Instructions

To download the most recent JavaMail source code you'll need Mercurial .

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

 % hg clone https://hg.java.net/hg/javamail~mercurial

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

 % hg clone -r JAVAMAIL-1_4_7 https://hg.java.net/hg/javamail~mercurial

To build JavaMail you'll need Maven .

To simply build everything, use:

 % cd javamail~mercurial
 % mvn install

You'll find the javax.mail.jar file in mail/target/javax.mail.jar.

See Workspace Structure for a description of the workspace.

 
 
Close
loading
Please Confirm
Close