Aspose.BarCode Java For Jython


What is Jython?

Jython is a Java implementation of Python that combines expressive power with clarity. Jython is freely available for both commercial and non-commercial use and is distributed with source code. Jython is complementary to Java and is especially suited for the following tasks:

  • Embedded scripting - Java programmers can add the Jython libraries to their system to allow end users to write simple or complicated scripts that add functionality to the application.
  • Interactive experimentation - Jython provides an interactive interpreter that can be used to interact with Java packages or with running Java applications. This allows programmers to experiment and debug any Java system using Jython.
  • Rapid application development - Python programs are typically 2-10X shorter than the equivalent Java program. This translates directly to increased programmer productivity. The seamless interaction between Python and Java allows developers to freely mix the two languages both during development and in shipping products.¬†

Aspose.BarCode for Java

Aspose.BarCode for Java is a robust and reliable barcode generation and recognition component, written in Java, it allows developers to quickly and easily add barcode generation and recognition functionality to their Java applications.

Aspose.BarCode for Java supports the Java SE, Java EE and Java ME platforms.

Aspose.BarCode Java for Jython

Project Aspose.BarCode for Jython shows how different tasks can be performed using Aspose.BarCode Java APIs in Jython. This project is aimed to provide useful examples for Jython Developers who want to utilize Aspose.BarCode for Java in their Jython Projects using Jython.

System Requirements and Supported Platforms

System Requirements

Following are the system requirements to use Aspose.BarCode Java for Jython:

  • Java 1.5 or above installed
  • Downloaded Aspose.BarCode component
  • Jython 2.7.0

Supported Platforms

Following are the supported platforms:

  • Aspose.BarCode 15.4 and above.
  • Java IDE (Eclipse, NetBeans …)

Download Installation and Usage


Download Examples from social coding websites

Following releases of running examples are available to download on all of the below mentioned social coding sites:

Download Aspose.BarCode for Java component


  • Place downloaded Aspose.BarCode for Java jar file into “lib” directory.
  • Replace “your-lib” with the downloaded jar filename in file.


You can create 2D BarCode using following example code:

 from asposebarcode import Settings

from com.aspose.barcode import BarCodeBuilder

from com.aspose.barcode import Symbology

class Creating2DBarCode:

    def __init__(self):

        dataDir = Settings.dataDir + 'WorkingWith2DBarCodes/Basic2DBarCodeFeatures/Creating2DBarCode'

        # Instantiate barcode object

        builder =  BarCodeBuilder()

        symbology= Symbology


        # Width of each module


        # Height of each module


        builder.setCodeText("this is some test code text. \n Second line \n third line.")

        # Save the image to your system and set its image format to Jpeg + "Creating2DBarCode.jpg")

        # Display Status

        print "Created 2D BarCode Successfully."

if __name__ == '__main__':


This section includes the following topics:

Support, Extend and Contribute


From the very first days of Aspose, we knew that just giving our customers good products would not be enough. We also needed to deliver good service. We are developers ourselves and understand how frustrating it is when a technical issue or a quirk in the software stops you from doing what you need to do. We’re here to solve problems, not create them.

This is why we offer free support. Anyone who uses our product, whether they have bought them or are using an evaluation, deserves our full attention and respect.

You can log any issues or suggestions related to Aspose.BarCode Java for Jython using any of the following platforms:

Extend and Contribute

Aspose.BarCode Java for Jython is open source and its source code is available on the major social coding websites listed below. Developers are encouraged to download the source code and contribute by suggesting or adding new feature or improving the existing ones, so that others could also benefit from it.

Source Code

You can get the latest source code from one of the following locations