Convincing the application to properly use ~/snap/your-snap/current
is the right approach. It would be possible for you to work around this with personal-files by having /home/alan/.openjfx/cache
be a symlink to ~/snap/your-snap/current/.openjfx/cache
(or similar) and this would ‘work’, but the problem is that your snap is not the owner of $HOME/.openjfx
and so our processes would not allow this interface to be auto-connected (or perhaps even used) since this access would allow sandbox escape via writing a .so file that an unconfined javafx application could pickup.
1 Like