Building Barcode4J
Introduction
This page tells you how to build Barcode4J.
Requirements
- Java Development Kit (JDK) 1.4 or higher (available from http://java.sun.com/)
- Apache Ant 1.6.2 or higher (available from http;//ant.apache.org/)
- Download Barcode4J as described on the Download page or from CVS (requires Apache Ant 1.5 or higher, then follow directions on the Building page).
Note
While Barcode4J should run fine under JDK 1.3.1 it doesn't compile under JDK 1.3.x at the moment. Also, if Barcode4J is compiled under JDK 5.0, it won't run under JDKs 1.3.1 or 1.4.x.
Building
Go to the directory where you placed Barcode4J and run the Ant build script ("ant" on Windows, "./ant.sh" on Unix).
If all goes well, this creates a "build" directory which now contains several things:
- barcode4j.jar: The barcode package
- barcode4j-light.jar: A reduced barcode package without dependency on Avalon Framework.
- barcode4j.war: The sample web application with the sample servlet
- the "docs" directory: This directory contains the generated Javadocs
by Jeremias Märki


