Building the FreeHEP Java Library
The FreeHEP libraries consist of 2 parts: The Java Libraries, and the Native Libraries. The latter are wrappers to, for instance, legacy Fortran code and to hook up the FreeHEP Java libraries to C++. In most cases one would only need to build the Java Libraries.
Building the Java libraries from the source code
To build the FreeHEP Java libraries you have to use ANT, which comes as part of the checked out CVS tree. The build of FreeHEP was tested on WindowsXP/2000/NT, Linux and Solaris, using the Java Development Kit 1.4 or later.
Execute the following 5 steps:
Other suggestions and commands
You may want to add FREEHEP/tools to your PATH, and try also the following commands:
Building the Native libraries from the source code
To build the FreeHEP Native libraries you have to use gmake, which comes for Windows as part of the checked out CVS tree and is normally part of Unix/MacOSX (use make) systems.
You further need a C/C++ compiler and if you want to link with CERNLIB the Fortran compile-time libraries.
We assume you have already set up your environment for compiling the Java libraries.
Now execute the following 4 steps:
Steps 2 may be omitted, in which case parts of the FreeHEP native libraries will not be compiled.