Java 5 is required to build and deploy CAS 3.1. However, there appear to be some issues with various versions of Java on various platforms.
On the Windows PC, building CAS has been tested with the following:
- JDK 1.5.0_8 and higher
- JDK 1.6 and higher
On Linux Machines, building CAS has been tested with the following:
- JDK 1.6 and higher
On a Macintosh, building CAS has been tested with the following:
- JDK 1.5 (if tests are disabled, see note below)
On a Solaris machine, it hasn't been tested but mostly one will need the following:
- JDK 1.6 or higher
There appears to be certain Sun-specific classes that may or may not appear in a particular JDK (i.e. its in JDK 1.5.0_08 for the Windows machine but not for the Linux machine).
If you encounter missing classes and do not want to change your Java version, you can run Maven 2 with the following flag: "-Dmaven.test.skip=true"