Bug 148916 - cannot connect to jre (Windows 10)
Summary: cannot connect to jre (Windows 10)
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.3.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-03 22:41 UTC by Barry
Modified: 2022-06-05 11:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Barry 2022-05-03 22:41:50 UTC
Description:
version 7.3.2.2
followed all process recommendations I could find.
no matter what i do I still get
"The folder you selected does not contain a Java runtime environment.
Please select a different folder."

Steps to Reproduce:
1. tools, options, advanced, box is blank, add, then select
2. the jre install folder 
3.

Actual Results:
got the box 
"The folder you selected does not contain a Java runtime environment.
Please select a different folder."

Expected Results:
expected it to see the JRE and connect to it.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.3.2.2 (x64) / LibreOffice Community
Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 1 sdc.blanco 2022-05-04 12:27:04 UTC
(In reply to Barry from comment #0)
> 2. the jre install folder 
What is the exact path name that you entered here?
Comment 2 Barry 2022-05-05 15:38:47 UTC
I did not "enter" the file name. I browsed to it and clicked on it. I am rebuilding my computer and have lost many links including the link to the JRE. When  I reinstalled the JRE it auto-selected> Program Files(x86)>Java>jre1.8.0_333.
Comment 3 Barry 2022-05-05 15:39:37 UTC Comment hidden (obsolete)
Comment 4 sdc.blanco 2022-05-05 21:24:46 UTC
(In reply to Barry from comment #2)
> auto-selected> Program Files(x86)\Java\jre1.8.0_333.
Can you confirm that the folder C:\Program Files(x86)\Java\jre1.8.0_333
exists on your system, and actually has a JRE in that folder?

If not, can you browse and select a folder that actually contains an installed JRE?
Comment 5 Alex Thurgood 2022-05-06 07:51:04 UTC
If LO says that it can't find the JRE when you choose the folder, then that generally means one of two things :

(a) that it no longer supports the version of the JRE you have on your system, or
(b) the JRE program (the actual executable binary program, jre.exe) isn't in the folder you pointed to.

If you can find a jre.exe file in that folder (using Windows explorer), then that means that LO doesn't support that particular version of JRE. You would then have to install a different version of JRE/JDK, i.e an earlier one that was supported, or a later one if available/supported.
Comment 6 himajin100000 2022-05-07 15:58:03 UTC
the LibreOffice version Barry indicated says it's 64bit version.
However, the JRE path has been installed to "Program Files(x86)"
Comment 7 Julien Nabet 2022-06-05 11:07:20 UTC
himajin100000 is right.
If you use LO 64 bits, you must use Java 64 bits.
If you use LO 32 bits, you must use Java 32 bits.

So since you got LO 64 bits, you should install jre or jdk 64 bits.

Let's put this one to NOTABUG.

Of course, if after having installed Java 64 bits, you still reproduce the pb, don't hesitate to reopen this tracker.

BTW, 7.3.3 has been released meanwhile.