Java: allow configuring the java destinations
Some Linux distros need this to be configurable.
Fixes: #17888 (closed)
Cc: @opoplawski
Backport: release
Some Linux distros need this to be configurable.
Fixes: #17888 (closed)
Cc: @opoplawski
Backport: release