Skip to content

Add Automatic-Module-Name manifest entry to Java jar files #2451

Open

Description

What language and solver does this apply to?
Java

Describe the problem you are trying to solve.
The current Linux jar file cannot be used with the Java module system because it’s file name cannot be converted into an automatic module name. Adding this additional manifest entry will fix this.

Describe the solution you'd like
Add
Automatic-Module-Name: com.google.ortools
to the ortools-java-xxx.jar file

Add
Automatic-Module-Name: com.google.ortools.linux
to the ortools-linux-xxx-xxxx.jar file.

Similar automatic module names should be added to the other os specific jar files (i.e .windows, .mac)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions