### Building the Vecmath Package

To build the vecmath package, you must first checkout the vecmath CVS repository on java.net. For example, run the cvs checkout command as follows:

`cd <cvs-root-dir>`
`cvs checkout vecmath`

This top-level directory must be named "vecmath".

### System Requirements

Vecmath is 100% Java, so any operating environment that supports J2SE should work. We have built vecmath on the following operating environments:

- Solaris: Sparc (Ultra60 or better) running Solaris 9
- Linux: i386/i586 running SuSE 9 or RedHat 9.0
- Windows: Windows/XP (Windows 2000 should work, but is untested)

The following software must be installed:

- JDK 1.5.0
- Apache Ant 1.6.1

### Building Vecmath

###

Before you start building, please check that your PATH must include the following directories:

- <ant-root-dir>/bin
- <jdk-root_dir>/bin

The default target, jar-opt, creates an optimized jar files.

Steps:

`cd <cvs-root-dir>/vecmath
ant`

This will build the `javax.vecmath` package, which will be put in the `vecmath/build/opt` sub-directory.

To see other targets that are available, type "ant -projecthelp". Note that ant must be run from the top-level directory.