Installation
Contents
[
Hide
]
Ways to Obtain the Product
You can obtain Aspose.BarCode for Java using two methods:
1. Download the ZIP File from the Website
You can get the product directly from the official website.
For example, if you want to download aspose-barcode-25.1-java.zip, you can do so from the link above.
This ZIP file contains the library, API documentation as a JAR file, and other artifacts such as the README and license-related files.
2. Get from Maven Repository
Aspose hosts all Java APIs in the Maven repository.
Alternatively, you can obtain the library from the Maven repository:
Aspose.BarCode for Java.
You can easily integrate the product into your Gradle projects by adding the following configurations to pom.xml
.
<repositories>
<repository>
<id>aspose-barcode-java</id>
<name>Aspose Barcode Java</name>
<url>https://releases.aspose.com/java/repo/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode</artifactId>
<version>25.1</version>
</dependency>
</dependencies>
<dependencies>
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode</artifactId>
<version>25.1</version>
<classifier>jdk18</classifier>
</dependency>
</dependencies>
and JavaDoc
<dependency>
<groupId>com.aspose</groupId>
<artifactId>aspose-barcode</artifactId>
<version>25.1</version>
<classifier>javadoc</classifier>
<scope>provided</scope>
</dependency>
For Gradle-based applications, you should use the following settings:
repositories {
maven {
url "https://repository.aspose.com/repo/"
}
}
dependencies {
implementation group: 'com.aspose', name: 'aspose-barcode', version: '25.1'
// Alternative version with JDK 18 classifier
implementation group: 'com.aspose', name: 'aspose-barcode', classifier: 'jdk18', version: '25.1'
// JavaDoc dependency
implementation group: 'com.aspose', name: 'aspose-barcode', classifier: 'javadoc', version: '25.1'
}