Prerequisites

Java

Databinder requires at least a version 5.0 J2SE Development Kit supporting Java 1.5.

For Windows, download and execute an installer from Sun’s site. On Mac you’ll need OS 10.4 or 10.5 and the latest Java available through Software Update or SoyLatte. For Linux, the Sun JDK is now included in some distributions. Follow instructions particular to your distribution.

When running java -version on a command line returns at least 1.5, you’re ready for Maven.

Maven

Mac OS tip: we recommend that you take a detour here and install MacPorts, if you don’t have it already. MacPorts packages a large amount of cross-platform software for Macintosh, including Maven and MySQL. It saves you the trouble of fiddling with /usr/local (for every upgrade) and extending the execution search path. To get Maven: sudo port install maven2

The Maven 2 downloads do not include an installation program for any platform. Instead you extract the files somewhere appropriate, then add the the bin directory to your executable search path. The download page has some platform-specific instructions.

When that’s all said and done, mvn -v should work, and report a version number of at least 2.0.9.

Page last updated May 10, 2008. Produced with Databinder.