jpackage does not include extra files from app-image when creating Debian package?
mik3hall at gmail.com
Sat Feb 27 10:22:41 UTC 2021
> On Feb 27, 2021, at 1:31 AM, Tobias Oelgarte <tobias.oelgarte at gmail.com> wrote:
>> No, there is no platform independent and reliable way to get the path to 'app' directory. However you can get location of one of your app's classes through Class.getResource(). See https://stackoverflow.com/questions/227486/find-where-java-class-is-loaded-from <https://stackoverflow.com/questions/227486/find-where-java-class-is-loaded-from>
> That isn't helpful at all. All i get is either the URL jrt:/<modulename> or null, but not the installation directory or something similar.
System property? java.home, java.launcher.path, java.library.path, java.class.path
My application indicates a security policy…
Which actually gets you into the app directory.
On virtual box Windows showing...
More information about the jdk-dev