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