Setting up Your Development Environment

If you downloaded and installed the J2EE reference implementation, you are ready to start exploring the JavaMail API. If you did not install the reference implementation, you will need to install the JavaMail API and Java Activation Framework (JAF) before you can start writing code.

Before you download the JavaMail API, ensure that you have J2SE 1.2.X or later correctly installed. You must also install the Java Activation Framework (JAF) because the JavaMail API requires it. The API requires the framework to handle arbitrary large blocks of data (you will learn more about this later in today's lesson). You can download JAF from http://java.sun.com/products/javabeans/glasgow/jaf.html.

Note

Both JAF and the ...

Get Sams Teach Yourself J2EE™ in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.