Ask Your Question
0

Mac User Learning Base receive message that JRE is defective

asked 2020-12-02 05:22:35 +0200

lepast gravatar image

MacOS up to date - Big Sur LO up to date - version 7 Experienced computer user, just learning Base THIS IS A LEARNING PROJECT for me.

Created simple table, wishing to create form, but receive message saying JRE is defective. Where / How do I find JRE which is not defective? --lepast47

edit retag flag offensive close merge delete

Comments

1

2 Answers

Sort by » oldest newest most voted
1

answered 2020-12-02 10:43:45 +0200

Opaque gravatar image

updated 2020-12-02 22:59:10 +0200

Hello,

this is bug tdf#135479 - LO Complains about missing JDK when accessing any Java functionality, despite recognizing JDK on macOS under Preferences

See especially comment #9 of the bug report, which states that JDK 12.0.2 is working.

[Update] Here is a procedure that worked for me:

  • Stop (Quit) LibreOffice
  • Open a Terminal (Launchpad - Search for "Terminal")
  • cd Downloads
  • curl -O https://download.java.net/java/GA/jdk12.0.2/e482c34c86bd4bf8b56c0b35558996b9/10/GPL/openjdk-12.0.2_osx-x64_bin.tar.gz
  • sudo mkdir -p /Library/Java/JavaVirtualMachines/ (password requied)
  • sudo tar -xvf openjdk-12.0.2_osx-x64_bin.tar.gz -C /Library/Java/JavaVirtualMachines/
  • Start LibreOffice
  • LibreOffice -> Preferences -> LibreOffice > Advanced and check Java/JRE

Hope that helps.

edit flag offensive delete link more

Comments

Came here after googling the same error message (due to installing Zotero connector). I've got the same setup as OP. Your solution fixed it for me. Thanks!

pinnerup gravatar imagepinnerup ( 2020-12-03 15:17:27 +0200 )edit
0

answered 2020-12-27 06:39:19 +0200

Fenton gravatar image

updated 2020-12-27 06:59:52 +0200

I have Macintosh OS 11.0 and the most current versions of LO and Zotero. The same annoying message about not being able to find JRE appeared when I start LO. The suggested string of Terminal commands does fix the issue; LO can also now communicate with Zotero.

There are however a few strange pieces of advice (or observations) which I can provide:

  1. You can install either “JDK-15.0.1.jdk“ or “adoptopenjdk-15.jdk” directly from the Internet. However, LO won't recognize them.
  2. The final string of Terminal commands is "LibreOffice -> Preferences -> LibreOffice > Advanced". At least in my case, the Terminal responds with "-bash: LibreOffice: command not found ".

This doesn't appear to disrupt the functionality of either LO or Zotero (so far).

PS – the formatting function to create a numbered list in this response window don’t seem to be working correctly in Firefox.

edit flag offensive delete link more

Comments

You can install either “JDK-15.0.1.jdk“ or “adoptopenjdk-15.jdk” directly from the Internet. However, LO won't recognize them.

Did you read the bug report? The bug is exactly about not working (though recognizing) JDKs besides version 12.0.2 for whose installation the answer above provides a solution.


The final string of Terminal commands is "LibreOffice -> Preferences -> LibreOffice > Advanced". At least in my case, the Terminal responds with "-bash: LibreOffice: command not found ".

This is not to be executed in "Terminal" but the menu path to LibreOffice configuration, where to check/set Java settings. This step is following step Start LibreOffice, hence not to be executed in "Terminal". It is a common nomenclature to use "menu 1 -> menu 2 -> ..." to indiciate: Select menu 1 from menu bar, followed by (sub-) menu 2 and so on ...

Opaque gravatar imageOpaque ( 2020-12-27 11:56:26 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-12-02 05:22:35 +0200

Seen: 102 times

Last updated: Dec 27 '20