If java is not on a default path (as set by /etc/default/login or other means), the wrapper fails since the executable cannot be found when doctoolchain is finally called.
The reason for this is the call to bash with the -l flag in line 37:
This causes bash to work as login shell and reset any environment variables to their login defaults.
If
javais not on a default path (as set by /etc/default/login or other means), the wrapper fails since the executable cannot be found when doctoolchain is finally called.The reason for this is the call to
bashwith the-lflag in line 37:doctoolchain.github.io/dtcw
Line 237 in 068e50e
This causes bash to work as login shell and reset any environment variables to their login defaults.