kiCad -- Free Routing -- (flatpack install) does not find jre 17

I am on Debian 11.

KiCad 7.0.0 installed via flatpack.

Java JRE 17 is installed but KiCad does not seem to know where to look for it when launching FreeRouting Pluging.

Any idea where I should look and / or do ?

Thank you

Rene-Jean

Flatpack sandboxes applications by default. You should add access to host filesystem, then add /var/run/host/usr/bin (or wherever java will end up) in flatpack to PATH, then the plugin will be able to find it.
You may also have to write your own wrapper for java to be launched using flatpack-spawn.
More info here
https://docs.flatpak.org/en/latest/sandbox-permissions.html
https://docs.flatpak.org/en/latest/flatpak-command-reference.html?#flatpak-spawn

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.