
* To build and run the samples

1. Copy Aspose.BarCode.jar from lib directory to here

2. Compile the sample using the below command.

Windows:
	javac -classpath .;Aspose.BarCode.jar AwtSample.java

UNIX:
	javac -classpath .:Aspose.BarCode.jar AwtSample.java

3. Run the sample using the below command.

Windows:
	java -classpath .;Aspose.BarCode.jar AwtSample

UNIX:
	java -classpath .:Aspose.BarCode.jar AwtSample


You might face exceptions if servlet library is not installed on your machine. To avoid that, please copy Servlet-api.jar to the demos directory and add Servlet-api.jar to your classpath. To do so, you will have to modify your commands to compile and run demos as shown below in the examples. (If you are using JDK below version 1.5, you might face servlet-api version exception. Please visit www.sun.com for the latest JDK download.)

Windows:
	javac -classpath .;Aspose.BarCode.jar;Servlet-api.jar AwtSample.java
	java -classpath .;Aspose.BarCode.jar;Servlet-api.jar AwtSample

UNIX:
	javac -classpath .:Aspose.BarCode.jar;Servlet-api.jar AwtSample.java
	java -classpath .:Aspose.BarCode.jar;Servlet-api.jar AwtSample

