I'd like to use JLink / JPackage to create an executable version of a small Groovy app I've developed. There is no meta-programming in that app, I've just used basic Groovy, Swing and Awt. I can't find what are the modules, in addition to java.Base and java.Desktop, I need to use in the JPackage command-line to include Groovy libs.
I've used JDeps to try to identify the Groovy dependencies, but it could not find any of them (I'm not an expert with JDeps, I might have missed some parameters).
Any help / links / references / examples would be highly appreciated. Thanks in advance. BR, Erix.
I have a jar file and when I run jdeps I get something like
The two first lines indicates that I need
java.basefrom the JRE, the other two lines are dependencies that do not originate from the JRE since they are from thegroovy-all.jarwhich also need to be packaged inside my jar. My jar is not a uber/shadowjar so it doesn't contain the jars required and that is probably whyjdepscan't show origin hence 'not found'.Note: Java modules is from version 9 so if you are using packages compiled with java 8 or older
jdepscan't help with your dependencies...