Hello,
I've been messing around with JavaFX recently and I wanted to deploy it with JPackage. Everything works great but I can't really run the .exe file JPackage generates (when I try to run .jar file from jlinkimage folder it tells me the path for Image is incorrect, but everything works in my IDE), I keep all of my resources in a resources directory.
jlink {
imageZip = project.file("${buildDir}/distributions/app-${javafx.platform.classifier}.zip")
options = ['--strip-debug', '--compress', '2', '--no-header-files', '--no-man-pages']
launcher {
name = 'Installer'
}
}
jlinkZip {
group = 'distribution'
}