You should be able to compile CACAO on supported platforms with a simple

$ ./configure
$ make
$ make install

CACAO can also be run from the build directory (./src/cacao/cacao), but then a proper BOOTCLASSPATH environment variable needs to be set.

There are some noteworthy switches to ./configure:

configure options

Switch   Description
--prefix=PATH Use this switch to change the default installation path of CACAO, which is /usr/local/cacao.
--with-classpath-install-dir=<dir> <dir> is the install prefix of the GNU classpath which should be used. Default is /usr/local/classpath.

CACAO options

Switch   Description
--disable-threads Disables the use of and support for threads. Most simple console programs can still run. This is commonly used to achieve more predictable startup behaviour as there is no java.lang.Thread object involved to be initialized prior to running main.
--enable-staticvm Enables the build of a static CACAO binary with GNU classpath libraries linked statically.

Last updated: $Date: 2005-11-24 01:31:13 +0100 (Thu, 24 Nov 2005) $ $Author: twisti $
Please send mail to cacao@cacaojvm.org for comments of this page.