We will be migrating from Ask to Discourse on the first week of August, read the details here

Ask Your Question

Mac Java problem when creating a database [closed]

asked 2018-06-10 03:56:52 +0200

JEJennings gravatar image

updated 2020-08-18 16:59:54 +0200

Alex Kemp gravatar image

In attempting to create a new database in LibreOffice ver 5.3.7. 2 under MacOS High Sierra Version 10.13.4 I receive an error message, "No Java installation could be found". Going to the "Verify Java" Website and using it to check my Save installation, I receive the message "Congratulations! You have the recommended Java installed (Version 8 Update 171)."

Can anyone guide me to a solution?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2020-08-18 17:00:39.011565


Solved, Thanks to the helpful folks AndreNZ and Ratslinger. This should have been mentioned in the LibreOffice documentation someplace but if it is, I missed it.

JEJennings gravatar imageJEJennings ( 2018-06-14 23:16:51 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2018-06-14 13:55:24 +0200

AndrewNZ gravatar image

updated 2018-06-14 14:19:18 +0200

Hi Jack, and thank you Ratslinger for the advice provided in your various posts to help users with similar questions.

I am a new user of LibreOffice, having downloaded it today (14 June 2018). I would describe myself as a fairly experienced user of a Mac, and a very experienced researcher of online information, but I find LibreOffice's documentation, both in the help documents, its FAQ, its installation guides and so on to be appalling for this basic bit of functionality that is essential to make the Base (database) part of LibreOffice function properly. It was only on searching this knowledgebase for 'Mac Java' that I found any sensible answers, and this still required clicking through multiple answers from the very kind and patient Ratslinger. If I didn't know better, I would get the impression that the creators and maintainers of LibreOffice are not interested in attracting Mac users to use the product.

I am on a 2017 iMac running Mac OS High Sierra (OS version 10.13.5) and I installed LibreOffice version 6.0.4.

After installing LibreOffice - since you will probably have done that before reaching this page - you need to install Oracle's Java Development Kit, or JDK.

NOTE: The JDK is different from Oracle's Java Runtime Environment or JRE. If you only install the JRE, the database module of LibreOffice will not function properly, and when you manually try to add the JRE to LibreOffice through the application's preferences, you will fail.


  1. Quit LibreOffice, if it is running.

  2. Go to Oracle's web page for the Java Development Kit or JDK. The current (as of 14/6/18) version is 10.0.1 and it can be found here: http://www.oracle.com/technetwork/java/javase/downloads/jdk10-downloads-4416644.html

  3. On that page, click on the radio button for 'Accept License Agreement'

  4. On the same page, click on the link to download the version of the JDK for Mac OS.

  5. After the disk image file has downloaded, double-click on it to mount the disk image.

  6. Double-click on the icon for the installer package, and when prompted enter the user name and password for an account that has administrator privileges on the Mac. (If it is just your machine, this is the account name and account password you chose when you first set up your Mac.) Then click on the 'install software' button and whatever buttons are needed to enable you to install software downloaded from the web instead of Apple's App Store.

  7. Launch LibreOffice. Navigate to the preferences window ("LibreOffice" menu in the top left corner of the screen, then 'Preferences'). Select 'Advanced' from the list of options on the left hand side. This should display the preference options for Java. If the installation of the JDK has gone well, it should already have a tick in the option for 'Use a Java runtime environment'. In the pane below that, a radio button should indicate that the vendor is Oracle ...

edit flag offensive delete link more



The problem with Mac & Java is not because of LibreOffice. The need for JDK is because of an issue between Apple & Oracle. Please see my answer in this post -> Still can't find Java installation.

There has been good response by LO when new situations arise because of Java. Some of your ranting seems mis-placed.

Ratslinger gravatar imageRatslinger ( 2018-06-14 14:15:58 +0200 )edit

@AndrewNZ - Based upon your further postings on other questions, I hope you are aware there may be further complications than what you are covering. Have you reviewed the Bug reports, both open and closed, on this matter? OSX version may have a bearing on the Java situation! When dealing with Java and LO (which is gradually going away - Firebird is next step) each case may be different.

Ratslinger gravatar imageRatslinger ( 2018-06-14 14:48:14 +0200 )edit

@Ratslinger Thank you for that additional information. However, while there may be problems with Apple's OS and Oracle's Java - and I'm not saying the software issue is the fault of LibreOffice - this doesn't change the fact that LibreOffice's documentation for Mac users wanting to switch to LibreOffice is woeful on this basic element of how to get the software installed and running.

AndrewNZ gravatar imageAndrewNZ ( 2018-06-15 08:01:04 +0200 )edit


melindaknits gravatar imagemelindaknits ( 2019-06-12 01:51:39 +0200 )edit

I would like to simply say THANK YOU.

As you mentioned, the FAQs and everything is incredibly hard to navigate and in 8 simple paragraphs you have sorted out my problem.

Thank you thank you thank you.

jimlefevre gravatar imagejimlefevre ( 2020-06-10 16:48:52 +0200 )edit

answered 2018-06-10 04:12:53 +0200

Ratslinger gravatar image


You must install Oracle JDK when using Base on Mac.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-06-10 03:56:52 +0200

Seen: 5,854 times

Last updated: Jun 14 '18