| title | Migrate from v10.x to v11.x - Dynamsoft Barcode Reader SDK Java Edition |
|---|---|
| keywords | java, upgrade, migrate, v10, v11 |
| description | This page introduces how to migrate Dynamsoft Barcode Reader SDK Java Edition from version 10.x to 11.x |
| needAutoGenerateSidebar | true |
| needGenerateH3Content | true |
Version 11.x is fully API-compatible with version 10.x. Most applications can upgrade by simply updating the Maven dependency without code changes. Follow these steps to complete the migration.
You may need to update your license key before upgrading to version 11.x.
- 30-Day Free Trial License: Visit the Request a Trial License{:target="_blank"} page to obtain a free license for evaluation.
- Annual Online Full License: Your license will continue to work with the new SDK version. Go to Customer Portal to get your license key.
- Perpetual License: Please contact our sales team{:target="_blank"} to update your license.
Update your pom.xml file with the latest version:
<dependencies>
<dependency>
<groupId>com.dynamsoft</groupId>
<artifactId>dbr</artifactId>
<version>11.4.1000</version>
</dependency>
</dependencies>The template file format has changed. Templates created for version 10.x may not be fully compatible with version 11.x. Use the Template Upgrade Tool to convert your existing templates to the new format.
After updating the dependency, clean and rebuild your project to ensure all dependencies are properly resolved.