drmacro / wordinator

Generate high-quality DOCX files using a simplified XML format (simple word processing XML).
Apache License 2.0
38 stars 8 forks source link

Support Java 9+ #32

Closed drmacro closed 1 year ago

drmacro commented 3 years ago

Lastest POI versions support Java 9+. Wordinator should too.

drmacro commented 3 years ago

Initial attempts to upgrade to Java 11 did not work--issues around modules or something. Still working to understand what needs to be done.

drmacro commented 1 year ago

Issue appears to be with the all-dependencies jar and log4j multi-version libraries.

Adding "Multi-Release: true" to the Jar manifest did not resolve the issue (assuming I'm doing it correctly).

The code does work when you put all the dependencies in a dir and set the classpath.

For 1.0.4 and 1.1.2 I've set up the release package to reflect this approach.

Would like to make the all-dependencies jar work again.

drmacro commented 1 year ago

Closing this as complete as the code runs under Java 9+, just not the all-dependencies jar.