Frequently asked questions - General
How to install Java (JRE/JDK) so that LibreOffice could use it?
Some LibreOffice functions require Java (JRE/JDK). To use them, a supported version of JRE/JDK must be present and configured on the system.
When using Windows, you need to make sure that the architecture of installed LibreOffice matches the architecture of installed JRE. If your Windows is 64-bit, LibreOffice Download page by default offers you a 64-bit LibreOffice installer. It is designated as . If you have 32-bit operating system, you will be offered a 32-bit installer ( ). You may check the architecture of installed LibreOffice in menu ▸ , where the version string looks like "Version: 126.96.36.199 (x64)" for 64-bit version, and "Version: 188.8.131.52" (without "(x64)") for 32-bit version.
LibreOffice can only use JRE with matching architecture: i.e., 64-bit LibreOffice can only use 64-bit JRE, and 32-bit LibreOffice can only use 32-bit JRE. When you have installed a 64-bit LibreOffice, and 32-bit JRE, LibreOffice would not be able to find and use the JRE, no matter how hard you would try it. This is a common situation, because Java home page (www.java.com) only offers 32-bit JRE by default, regardless which is current operating system architecture. In this case, LibreOffice (of reasonably fresh version) would try to be helpful in its error message, telling you that it needs specific architecture (e.g., 64-bit) of JRE. To find other available downloads, including 64-bit JRE, you need to ignore the Big Red "Agree and Start Free Download" button, and find a small See all Java downloads link below.
Java installer packages typically have this naming scheme:
- jre-8u201-windows-i586-iftw.exe - 32-bit web-installer;
- jre-8u201-windows-i586.exe - 32-bit standalone installer;
- jre-8u201-windows-x64.exe - 64-bit standalone installer.
JREs which are installed into C:\Program Files (x86) (as opposed to C:\Program Files) are 32-bit (unless you manually modified install path during installation), so you may use this information to tell if your JRE is 32-bit or 64-bit.
Launching Java Control Panel ("Configure Java" available in Windows Start menu), and clicking "View" button on "Java" tab, opens Java Runtime Environment Settings window with Architecture column allowing to see if installed instances are 32-bit (x86) or 64-bit (x86_64).
It is possible to install both 32-bit and 64-bit Java simultaneously on the system; and they don't conflict with each other - so if in doubt, just install both.
On macOS 10.10 and newer, please note that you need to install JDK, not JRE. You may find download links choosing JDK version on this page. On macOS 10.09, neither JRE, nor JDK are found. LibreOffice releases available from Apple App Store don't include Java support at all, because apps distributed in the App Store are not allowed to depend on optional functionality like Java.
Java vendor support
Java version support
- For LibreOffice prior to v.6.3, minimal supported Java version is 5 (clarification needed about older support history).
- For LibreOffice v.6.3, minimal supported Java version is 6 (see Release Notes).
- For LibreOffice v.6.4, minimal supported Java version is 8 (see mailing list archive and commit).