HOW TO REPRODUCE: 1. Uninstall Java 2. Go to "Tools -> Options -> LibreOffice -> Advanced" 3. Disable "Use a Java runtime environment" 4. Close LibreOffice and reopen from the terminal. RESULT: - The following warning is shown: failed to read path from javaldx.
This is print here: https://opengrok.libreoffice.org/xref/core/desktop/unx/source/start.c?r=206b5b26#686 Just a warning, not a bug.
I guess the warning shall only be shown if Java is enabled in the options, or just silently assume Java isn't installed.
The check is before any reading of options, but silencing it looks natural.
Something like <https://gerrit.libreoffice.org/c/core/+/97756> "tdf#129264: Make javaldx always print a line upon successful execution" should fix that (but I haven't tested it yet).
Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/269a161b3855fcdfde084bd0d786f212cbdd2af0 tdf#129264: Make javaldx always print a line upon successful execution It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to Commit Notification from comment #5) > Stephan Bergmann committed a patch related to this issue. > It has been pushed to "master": > > https://git.libreoffice.org/core/commit/ > 269a161b3855fcdfde084bd0d786f212cbdd2af0 > > tdf#129264: Make javaldx always print a line upon successful execution I found that leaving out step 1 from the original reproducer in comment 0 was enough to get the warning, so I only verified that the above fix stops the warning with steps 2--4, without actually uninstalling all the JREs from my development machine. Let me know if this issue is still not fixed when no JREs are installed on a machine.