https://bugs.freedesktop.org/show_bug.cgi?id=83753

          Priority: medium
            Bug ID: 83753
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: LibreOffice does not take into account JAVA_HOME and
                    PATH to select JRE
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: m.wegh...@posteo.de
          Hardware: All
            Status: UNCONFIRMED
           Version: 4.4.0.0.alpha0+ Master
         Component: Libreoffice
           Product: LibreOffice

When the Java Runtime Environment (JRE) to be used by LibreOffice is
automatically detected by LibreOffice (e.g. on the first start of the program),
the JAVA_HOME and PATH environment variables are currently not taken into
account, i.e. they have no effect on the JRE that is selected.

Possibly it would be a good idea to prefer the Java installations which these
environment variables refer to over other Java installations on the system as
they (JAVA_HOME, PATH) generally indicate which JRE should be used on the
system.
Thus, users/administrators can control which JRE is used if multiple JREs are
installed on the system. Therefore, I think this setting should be taken into
account by LibreOffice as well.

It would also offer administrators an easy possibility to set a specific JRE
for LibreOffice by providing a startup script that first sets the JAVA_HOME
environment variable before starting LibreOffice (e.g. in large companies).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to