64 Bit Jre For Libreoffice

I have LibreOfice 7.1.3.2, 64 Bit installed on a Windows 10 box. It is unable to find the Java JRE even though I have 2 of them installed. WHen I click on Tools Options Advance, and Click on the Add button and browse directly to the folder where the JRE is installed, it comes back and says the folder I selected does not contain a Java Runtime environment. But it does and the folder is in the path statement:

Trying to add JRE 64 Bit for Libre office without success Page 2 of 2 First 1 2. Jump to page: Callender. N/A New 18 Feb 2020 #11. Libreoffice Java Jre free download - Java Runtime Environment (JRE) (64-Bit), Java Runtime Environment (JRE) for Fedora (32-bit ), Duplicate Files Searcher, and many more programs. Finally you need choose one of the installed JRE versions in the menu item Tools - Options - LibreOffice - Advanced - (wait while the recognized JRE versions will be appeared in a list) - Choose one of them - OK.But if you have a 32 bit LibreOffice (even on a 64 bit Windows) then you need a 32 bit JRE.

c:Program FilesJavajdk-12.0.2bin>java -versionjava version '12.0.2' 2019-07-16Java(TM) SE Runtime Environment (build 12.0.2+10)Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing)

So, what exactly is LO looking for as a java runtime?

editretagflag offensiveclosemergedelete

Comments

You need JRE 8.0 64 bit to match your 64 bit installation of LibreOffice. You can download it from https://java.com/en/download/ . Once installed in default location, LO should find it automatically

I don't think that JDK is JRE. Cheers, Al

You need JRE 8.0

Why? We aren't limited to 8.0.

I don't think that JDK is JRE.

Of course it's not. It's a superset. So JDK includes JRE. And we even require JDK on macOS.

Java 8 Update 291 is all I get offered when I go to download page. I stand corrected on the JDK.

@Earnest Al: as described on our FAQ, we also can use third-party JRE vendors in addition to Oracle. In part, that was accelerated by the Oracle's changed policy :-)

And the specific version reported by OP is at http://jdk.java.net/archive/.

@jeff_steinkamp: just tested that simply unpacking jdk-12.0.2 (downloaded from https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_windows-x64_bin.zip) into my C:jdk-12.0.2, and adding C:jdk-12.0.2bin to installed JREs in options, works here with Version: 7.1.3.2 (x64) / LibreOffice CommunityBuild ID: 47f78053abe362b9384784d31a6e56f8511eb1c1CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: winLocale: ru-RU (ru_RU); UI: en-USCalc: CL

I have tested that this extension (that relies on Java) works. However, I don't know if other Java instances present on my system could affect my results (e.g., modifying PATH or registry).

I just tried that and it tells me there is no JRE available when I know for a fact all the files are there. So I guess the question is, what exactly is LO actually looking for to determine if a JRE exists in a folder.

So I guess the question is, what exactly is LO actually looking for to determine if a JRE exists in a folder.

The detection is performed by jfw_getJavaInfoByPath function, which calls jfw_plugin_getJavaInfoByPath, and the latter calls getJREInfoByPath. The latter has all the logic: checks that a correct directory path is passed; checks if it's one of already registered paths; uses list of known vendors to find related EXE paths (e.g., for Windows, that's java.exe, bin/java.exe, or jre/bin/java.exe); loops through the paths, adding them to passed directory, executes it with JREProperties argument..

The JREProperties refers to C:Program FilesLibreOfficeprogramJREProperties.class (source). Then if the process was executed, the output is parsed, and the EXE location is stored. After that the JRE is initialized (depending on vendor, it may be different, with fallback to standard SunInfo initialization).

That's basically all. You may even try to debug your problem, if you build a debug version of LibreOffice. Youtube jitsi.

64 Bit Jre For Libreoffice Download

Jre

@Mike Kaganski,

Tried your unzip of openJDK and itworked with Base:

Did have an older version of openJDK(10.x) installed (unselected for test) but otherwise my Win 10 is fairly clean.

Base file used HSQLDB and Report builder (created new report) both of which require Java.

@Mike KaganskiThe path is C:Program FilesJavajdk-12.0.2binjava.exe, yet it does find version 1.8 at C:Program FilesJavajre1.8.0_291binjava.exe

Office Libre For Windows 10 64 Bit

Edit: Split from [Solved] JRE Errors since that topic is solved, and any new questions require new topics.
'Has this problem solved?' Yes, Tron marked it solved about ten years ago. Look at the bottom of their first post.

Libreoffice Windows 7 64 Bit

Has this problem solved? I have read on many forums that Windows 10 64-bit, and AOO 32-bit require JRE 32-bit. I HAVE 32-BIT installed (I am 1000% sure of it), but AOO 4.9.1 does not recognize the JRE. I go to options/Java and try to add ANY java version but it says 'the folder does not contain a Java Runtime Environment. Also, the error persists whether I have Microsoft Visual C++ 2010 x86 installed or not.