Hi Davide,
Good to know the problem has been solved. I'm not sure it got solved in
the right way, though :)
Would you mind trying another fix? Instead of altering LD_LIBRARY_PATH
env var, remove _JPACKAGE_LAUNCHER env var from the environment in the
ProcessBuilder:
---
ProcessBuilder process
You got the point and solved the problem I was hitting for days in 1
minutes.
I simply added this env variable to my snapcraft.yaml
LD_LIBRARY_PATH: $APPDIR:$LD_LIBRARY_PATH
and this fixed it :)
It reminds me this story:
A man took his watch to a watchmaker for repair. The watchmaker exam
Davide,
Can you run the launcher with JPACKAGE_DEBUG env variable set to "true"
on flatpak or anywhere else where it works? It should make the launcher
print log messages to stdout.
On Linux launcher's behavior depends on "LD_LIBRARY_PATH",
"_JPACKAGE_LAUNCHER" env variables, see [1].
Laun