JDK-8275923 : Allow overriding the path to the lpr binary
  • Type: Enhancement
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 11
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2021-10-22
  • Updated: 2024-06-11
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
ADDITIONAL SYSTEM INFORMATION :
Flatpak/GNU Linux with flatpak SDK extension "org.freedesktop.Sdk.Extension.openjdk11".

A DESCRIPTION OF THE PROBLEM :
Inside of a flatpak container, we cannot place lpr at /usr/bin/lpr. The best we can do is to place it in /app/bin/lpr. This is why we need to override it.



Comments
Looks like it's already fixed on the Flatpak side, since runtime org.freedesktop.Platform version 23.08 I couldn't reproduce the problem anymore. I've attached a reproducer to play with. Could someone else confirm that it is working for them?
11-06-2024