JOpt core for Java 17
The Java 17 line is the current line of the JOpt core. Its versions end in -j17, and it runs on Java 17. The core runs in process, in the JVM of your application, without a server. The other lines of the core are compared on JOpt.Core overview.
How the core gets into your application
The diagram opens full size on click.
Maven fetches the core like any other dependency. In Java you build the optimization from nodes, resources and properties, set the license, and start the run; the result holds the routes. Basic elements introduces the elements, and First optimization builds one step by step.
What it needs
- A JDK 17 and Maven, or an IDE with Maven support.
- The public Maven repository repo.dna-evolutions.com/releases. It needs no login.
- The dependency
jopt:jopt.core.pgwith the classifiershadedand a version of the Java 17 line. The newest is7.5.3-rc9-j17; the versions and their changes are in Core releases.
<repositories>
<repository>
<id>dna-releases</id>
<url>https://repo.dna-evolutions.com/releases</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>jopt</groupId>
<artifactId>jopt.core.pg</artifactId>
<version>7.5.3-rc9-j17</version>
<classifier>shaded</classifier>
</dependency>
</dependencies>
License
Without a license, an optimization may hold up to 10 elements; nodes and resources count together. The Java examples set the public evaluation license, with a limit of 20 elements. The extended free license and the full licenses are in License guide: element limits.
Examples and API reference
- The Java examples in Java-TourOptimizer-Examples use the Java 17 line, in the version their pom sets. Getting started runs them in your IDE or in a browser sandbox.
- The JavaDoc of the Java 17 line is the API reference.
Moving to the Java 25 line
A Java 25 application can use the Java 25 line. What changes for a caller is listed in Java 25 line: what changes for a caller.
Related pages
- JOpt.Core overview: all lines of the core and which line to pick
- Core releases: the changes of the newest core versions
- Getting started: a first run with the Java examples
- License guide: the free and the full licenses and their element limits
- Optimization properties: the property keys with their defaults
Added: 2026-11-27 | Last updated: 2026-11-27
JOpt.Core overview
The JOpt core, the Java library that computes the plans, how to use it from Java, its lines per Java version and which line to pick.
Java 25 line
The Java 25 line of the JOpt core, on which JOpt.TourOptimizer runs, what it needs, what changes for a caller, and its measured run time and cost.