Skip to content

anything that calls a class in java/sql is not being found #16

Answered by wiverson
PerryCameron asked this question in Q&A
Discussion options

You must be logged in to vote

You will need to add java.sql to the bundled JVM.

https://github.com/wiverson/maven-jpackage-template/blob/main/pom.xml#L31

By default the trimmed down JVM doesn't include the SQL module (or a number of other modules). Here's a list of modules:

https://docs.oracle.com/en/java/javase/17/docs/api/index.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PerryCameron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #15 on October 05, 2022 21:17.