| You can easily download an evaluation version of Aspose.BarCode from the download page. The evaluation version provides the same capabilities as the licensed version of the component. Furthermore, evaluation version simply becomes licensed when you purchase a license and add a couple of lines of code to apply the license. |
Evaluation Version Limitation
The evaluation version of Aspose.BarCode (that is, the component running without a license applied) provides full barcode generation functionality but it shows an evaluation watermark on the barcode image.
Barcode created with an evaluation version of Aspose.BarCode

The evaluation version of Aspose.BarCode's recognition library only supports Code39 barcode recognition. However, a full featured demo application is provided for all supported barcode symbologies.
| If you want to test Aspose.BarCode without evaluation version limitations, you can also request a 30 Day Temporary License. Please refer to How to get a Temporary License? |
Setting a License in Aspose.BarCode for Java
Specify the license file path to set up a license for Java. This method only needs to be called once as long as the application is still running.
//Place the set license method inside a try block String licFilePath = "d:\\data\\aspose\\lic\\Aspose.BarCode.lic"; try { // Set license for generating barcode com.aspose.barcode.License licBarcode = new com.aspose.barcode.License(); licBarcode.setLicense(licFilePath); // Set license for reading barcode com.aspose.barcoderecognition.License licBarcodeRec = new com.aspose.barcoderecognition.License(); licBarcodeRec.setLicense(licFilePath); } catch (Exception ex) { // handle exception }
Setting the License in the Source Code
The license needs to be set only once per application or per process. For desktop applications, its recommended to set the license in the Initialize() method of the main form.

