Bug 126855 - JRE not recognized on macOS
Summary: JRE not recognized on macOS
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.3.0.4 release
Hardware: x86-64 (AMD64) macOS (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-12 15:32 UTC by EB
Modified: 2019-08-18 08:51 UTC (History)
1 user (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 EB 2019-08-12 15:32:16 UTC
Description:
I have updated and JRE to the latest versions. Nevertheless LO asks me to install the latest JRE version. 

Steps to Reproduce:
1. start LO
2. activate address assistant
3. mark macOS address book as source

Actual Results:
I click the warning's OK button and can use LO except for setting up an address book file. LO crashes when I tap the Continue button in the assistant window

Expected Results:
The address book file is recognized and data can be used to configure and feed the new database.


Reproducible: Always


User Profile Reset: No



Additional Info:
All software components are uptodate.
Comment 1 Alex Thurgood 2019-08-13 10:48:18 UTC
@EB : which JRE are you attempting to use ? In theory, LO on macOS requires a JDK.
Comment 2 Alex Thurgood 2019-08-13 10:49:43 UTC
No repro for me with LO6304 and Oracle JDK11
Comment 3 EB 2019-08-14 13:37:12 UTC
(In reply to Alex Thurgood from comment #1)
> @EB : which JRE are you attempting to use ? In theory, LO on macOS requires
> a JDK.

I updated to the actual version. 
The error message I'm receiving is misleading since it says JRE in the caption and JDK in the body (German version)
Comment 4 Alex Thurgood 2019-08-14 15:51:29 UTC
The adress book definition wizard works fine for me with :

Version: 6.3.0.4
Build ID: 057fc023c990d676a43019934386b85b21a9ee99
Threads CPU : 8; OS : Mac OS X 10.14.6; UI Render : par défaut; VCL: osx; 
Locale : fr-FR (fr_FR.UTF-8); Langue IHM : fr-FR
Calc: threaded

and Oracle OpenJDK 12.02
Comment 5 Alex Thurgood 2019-08-14 15:59:40 UTC
The extracted JDK folder needs to be copied over to 

/Library/Java/JavaVirtualMachines/

For example, on my system, I have the following JDKs installed, all of which are recognized by LO under the Advanced settings of Preferences :

jdk-9.0.1
jdk-9.0.4
jdk-10.0.2
jdk-11
jdk-12.0.2
jdk1.8.0_102
jdk1.8.0_121
jdk1.8.0_144

Of course, I can only select one of them from the Advanced dialog in LO Preferences.

You also need to check that the "Use a Java Runtime Environment" box is ticked at the top of that dialog.
Comment 6 EB 2019-08-14 17:57:26 UTC
Tnx for your kind help. I have installed the missing JDK and the error screen no longer appears. I also verified if everything is where it should be. All OK. But I cannot link to my Mac address book : when I tap the continue button, LO crashes and automatically reopens the menu window. I then checked another external source which seems to work since it takes me to the next steps. What is wrong here? How should I proceed? 

(In reply to Alex Thurgood from comment #5)
> The extracted JDK folder needs to be copied over to 
> 
> /Library/Java/JavaVirtualMachines/
> 
> For example, on my system, I have the following JDKs installed, all of which
> are recognized by LO under the Advanced settings of Preferences :
> 
> jdk-9.0.1
> jdk-9.0.4
> jdk-10.0.2
> jdk-11
> jdk-12.0.2
> jdk1.8.0_102
> jdk1.8.0_121
> jdk1.8.0_144
> 
> Of course, I can only select one of them from the Advanced dialog in LO
> Preferences.
> 
> You also need to check that the "Use a Java Runtime Environment" box is
> ticked at the top of that dialog.
Comment 7 EB 2019-08-16 07:33:27 UTC
(In reply to Alex Thurgood from comment #5)
> The extracted JDK folder needs to be copied over to 
> 
> /Library/Java/JavaVirtualMachines/
> 
> For example, on my system, I have the following JDKs installed, all of which
> are recognized by LO under the Advanced settings of Preferences :
> 
> jdk-9.0.1
> jdk-9.0.4
> jdk-10.0.2
> jdk-11
> jdk-12.0.2
> jdk1.8.0_102
> jdk1.8.0_121
> jdk1.8.0_144
> 
> Of course, I can only select one of them from the Advanced dialog in LO
> Preferences.
> 
> You also need to check that the "Use a Java Runtime Environment" box is
> ticked at the top of that dialog.
Comment 8 Alex Thurgood 2019-08-16 12:17:07 UTC
FWIW, only set to fix if code patch that fixes problem has been identified and verified. Setting WFM.
Comment 9 Alex Thurgood 2019-08-16 12:20:19 UTC
(In reply to EB from comment #6)


> be. All OK. But I cannot link to my Mac address book : when I tap the
> continue button, LO crashes and automatically reopens the menu window. I
> then checked another external source which seems to work since it takes me
> to the next steps. What is wrong here? How should I proceed? 
> 


What you could try instead is creating an ODB file separately via the DB creation wizard (File > New > Database, and using that to connect to your Apple Contacts (you will be asked by the OS to authorize access to it in order for the ODB to be created correctly.

Once the ODB has been created, restart the address book wizard and choose the previously created ODB file.
Comment 10 EB 2019-08-18 08:51:23 UTC
(In reply to Alex Thurgood from comment #9)
> (In reply to EB from comment #6)
> 
> 
> > be. All OK. But I cannot link to my Mac address book : when I tap the
> > continue button, LO crashes and automatically reopens the menu window. I
> > then checked another external source which seems to work since it takes me
> > to the next steps. What is wrong here? How should I proceed? 
> > 
> 
> 
> What you could try instead is creating an ODB file separately via the DB
> creation wizard (File > New > Database, and using that to connect to your
> Apple Contacts (you will be asked by the OS to authorize access to it in
> order for the ODB to be created correctly.
> 
> Once the ODB has been created, restart the address book wizard and choose
> the previously created ODB file.

This didn't work. LO offers only the choice of 'MacOS Address Book'and it seems to me that LO has problems since I can start the reset procedure but without any result.