Ask Your Question
0

Java 8 JRE not found on macOS Mojave 10.14.4

asked 2019-04-22 16:01:01 +0200

Artemis gravatar image

Hi there,

I'm trying to use a Java Runtime Environment with Libre Office on my macOS Mojave 10.14.4.

I've installed the latest JRE Version 8 Update 211 ( https://www.java.com/en/download/mac_... ). I'm now trying to add it to LibreOffice (LibreOffice > Preferences > Advanced > Add).

However, I can't find the right Java folder. I've looked in Library/Java/JavaVirtualMachines but it is empty. I've looked in Library/Frameworks but there is no Java.

Any help? Thank you very much,

Artemis

edit retag flag offensive close merge delete

Comments

@ebot Documentation doesn't help with this problem.There are several problem with that:

  1. Java gets installed in /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/
  2. This directory is not selectable using the LibreOffice dialog and the file selection dialog on MAC OS X, since the directory JavaAppletPlugin.plugin is considered a file due to .plugin in its name.
  3. Working around problem 2) using a link leads to a next problem that LibreOffice doesn't recognize a JRE.
Opaque gravatar imageOpaque ( 2019-04-23 19:04:34 +0200 )edit

@Opaque thank you, nice that you have paid attention. MAC is not really my world either.

ebot gravatar imageebot ( 2019-04-23 19:08:42 +0200 )edit

2 Answers

Sort by » oldest newest most voted
0

answered 2019-06-12 05:15:53 +0200

batty gravatar image

I've had the same problem on MacOS 10.14.5 but it is now fixed. In the end I installed the jdk system and then added the link in the preferences. I suggest you do the following, as it worked for me (this is from memory so hope it is right.)

  1. Install JRE 211 as you have already done.

  2. Open Apple System Preferences. 5th row down you will see the Java icon. Open. Two possibilities (A) It will probably tell you to install jdk and give you a link. If there is no link you can install jdk from https://www.oracle.com/technetwork/ja... Then go back to step 2. (B) you have it installed and the Java Control Panel will appear. Open the Java tab, click View, the path is there and you can use that in step 3.

  3. Open LibreOffice Preferences -> LibreOffice -> Advanced.

  4. Click Add and enter the path through the normal Mac window that appears. You'll need to go to the MacBook location in the panel and traverse from there.

Good luck!

edit flag offensive delete link more
0

answered 2019-04-23 19:29:53 +0200

Opaque gravatar image

updated 2019-04-24 12:12:56 +0200

Hello,

for whatever reason, the only solution I found is to install the JDK from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html* - see Java SE Development Kit 8u211.

After having installed the JDK, LibreOffice immediately found the JRE at: /Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/jre

Caveat: New license rules by Oracle (apply to JRE too) and may be a OTN account required (not sure about that)

Update Mi 24. Apr 12:09:08 CEST 2019

Should have read the FAQ more than once and take notice that it clearly states, that JDK is required to get a working JRE for Mac OS X. Would have saved me hours of testing and investigating.

edit flag offensive delete link more

Comments

Heh. But did you actually read the FAQ, which specifically mentions JDK?

I must say that I don't have a mac, so couldn't add there more than that single sentence; so if your answer actually adds value, please amend the FAQ (it's a wiki). Thanks!

Mike Kaganski gravatar imageMike Kaganski ( 2019-04-23 21:05:46 +0200 )edit

Got it - FAQ is sufficient.

Opaque gravatar imageOpaque ( 2019-04-23 22:38:28 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-04-22 16:01:01 +0200

Seen: 429 times

Last updated: Jun 12