To
build the Java Advanced Imaging packages, you must first checkout the jai-core CVS
repository on java.net. For example, run
the cvs checkout command as follows:
cd <cvs-root-dir>
cvs checkout jai-core
Any operating environment that supports J2SE should work. We have built
jai-core on the following operating
environments:
Before you start building, your PATH must include the following directories:
The default target, jar, creates both optimized and debug jar files.
To build: cd <cvs-root-dir>/jai-core
ant
The above steps build both the Java code for
javax.media.jai.* and com.sun.media.jai.*
packages.
The build will be placed in jai-core/build/<platform>/opt,
where <platform> is determined from the ant
echo
command:
ant echo
jai-core/build/<platform>/opt/lib/ext.
Binaries for native libraries are part of the project and are copied to
the jai-core/build/<platform>/opt/<jrenativesubdir>
directory as
part of the build, where <jrenativesubdir>
is
determined from the ant
echo
command as above.