Ask Your Question

I have been trying to create a new database in base but it keeps telling me I have a problem with Java

asked 2016-08-30 19:09:09 +0200

GeeBee gravatar image

updated 2016-08-31 15:08:10 +0200

Kruno gravatar image

LibreOffice requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - LibreOffice - Advanced.

I have done this and downloaded the latest java update java .18 and I still get this message. I then get this message.

The connection to the data source "Photograph Data" could not be established.

which is followed by

No java installation could be found. Please check your installation

edit retag flag offensive close merge delete


OS is windows 7 Ultimate Service Pack 1 running 64bit Processor AMD A6-3670 APU With Radeon HD Graphics

GeeBee gravatar imageGeeBee ( 2016-08-31 00:17:53 +0200 )edit

@GeeBee In future, use comment (or edit question) to respond. An answer should be used to respond to the question. Although you did not provide the LO version and bit information, I'll guess it is a recent 64-bit LibreOffice. You need to install a 64-bit JRE (8u102 is fine) from Oracle (click here).

Ratslinger gravatar imageRatslinger ( 2016-08-31 00:34:44 +0200 )edit

Reposted answer as a comment.

Kruno gravatar imageKruno ( 2016-08-31 09:13:13 +0200 )edit

Sorry I am using LO 5.0 I did try the latest update but when I tried modifying graphs created in an earlier version of calc LO kept crashing so I reverted to vers 5.0

GeeBee gravatar imageGeeBee ( 2016-08-31 10:00:06 +0200 )edit

Thanks to @Ratslinger for his help in using this forum sorry for the error I am not long out of hospital and still trying to get back to normal

GeeBee gravatar imageGeeBee ( 2016-08-31 10:04:58 +0200 )edit

I have just uninstalled Both Java and LO cleaned the disk drives and down loaded the latest versions of Java 8 SE Development Kit 8 update -102 (64bit) and LO and they still will not talk to each other

GeeBee gravatar imageGeeBee ( 2016-08-31 20:54:58 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2020-06-16 13:58:31 +0200

libre officer gravatar image

updated 2020-06-16 17:04:03 +0200

Versions after Oracle Java 8 are not recognised since LibreOffice 6. I recommend the use of OpenJDK.

For Windows users, for example:

Download the MSI file of the JRE (version 11 is ok).

You need a Java 64-bit if your LibreOffice is also 64-bit, or a Java 32-bit if your LibreOffice is also 32-bit.

edit flag offensive delete link more


What do you mean by "Versions after Oracle Java 8 are not supported since LibreOffice 6"? Start with clarifying which version is "6"? In LibreOffice, at least two first digits denote a major version; e.g. v.5.4 is a major release; 6.0 is a major release; 6.1 is equally major release. Then up to (including) version 6.2, the minimal supported version of Java was 5; for 6.3, minimal Java was 6. Starting with LibreOffice 6.4, minimal supported is Java 8; and versions after (i.e., newer than) the minimal supported versions are also supported.

It's all described in the FAQ.

Mike Kaganski gravatar imageMike Kaganski ( 2020-06-16 14:05:44 +0200 )edit

I tried any Oracle jre more than 8 (9, 10, 11 no works) in (x64) and (x86) and it's not recognized, only the adoptopenjdk works. Specially if you try to run example database provided in this website (older like 2017 and back)

libre officer gravatar imagelibre officer ( 2020-06-16 15:35:17 +0200 )edit

"I tried and it's not recognized" is not the same as "it's not supported". Had you filed a bug report for that?

Mike Kaganski gravatar imageMike Kaganski ( 2020-06-16 15:45:35 +0200 )edit

Sorry, (replaced supported by not recognised) I will do now..I cannot, I deleted all the jre 9, 10 and 11 from my machine

libre officer gravatar imagelibre officer ( 2020-06-16 17:02:36 +0200 )edit

I do not think so. I am using Oracle Java 8 with LibreOffice 6.4.4 and it is working perfectly. gravatar ( 2020-06-17 07:49:44 +0200 )edit

Try using Oracle Java 9, 10 or 11,

libre officer gravatar imagelibre officer ( 2020-06-17 13:49:21 +0200 )edit

answered 2016-08-30 22:14:24 +0200

Ratslinger gravatar image

updated 2016-08-31 21:10:00 +0200

Please see the answers in this post and link there also: click here. If still having problems, please provide basic information - OS, LO version and if 32 or 64 bit.


In case not noticed through all the changes, You need to install a Java 64-bit JRE (8u102 is fine) from Oracle (click here).

Also from menu Tools->Options you should see this screen selecting Advanced under LibreOffice:

image description

Use a Java runtime environment should be checked and Oracle Corporation 1.8.0_102 selected.

edit flag offensive delete link more


Your cleaning/unloading/loading really wasn't necessary. Please see edit in my answer. Also JDK is not necessary just JRE.

Ratslinger gravatar imageRatslinger ( 2016-08-31 21:12:31 +0200 )edit

Does anyone know the folder location to add Java for Windows 7 64 bit version is please? I have selected them all individually and it reports it as wrong location.

TinMan gravatar imageTinMan ( 2017-11-26 20:56:02 +0200 )edit

The Oracle links no longer working. I am still unable to find the correct location for the relevant java in the advanced section of options. Please help!

TinMan gravatar imageTinMan ( 2017-12-02 18:56:22 +0200 )edit

Just checked the link - I see no problem. It links to JRE downloads. Don't know what your situation is with installed Java location. Where it installs to is dependent upon which Java you are installing - 32 bit for LO 32 bit or 64 bit for LO 64 bit. Since you have 64 bit OS it could be either depending upon which LO you installed.

Ratslinger gravatar imageRatslinger ( 2017-12-02 21:50:37 +0200 )edit

@TinMan It would help if you stuck with posting comments on the original question instead of many different questions. I don't understand what you are looking for in Advanced section. If Java installed correctly, the location will appear automatically. Please stick with original question and refer to other if necessary.

Ratslinger gravatar imageRatslinger ( 2017-12-03 00:38:22 +0200 )edit

Dear Ratslinger. I have checked that I have a 64 bit LO (recently installed). I have uninstalled Java several times and reinstalled both the 'latest version' and '64 bit Java' which appear to be the same. If I then 'Configure Java' the JRE shows up. If I go into LO Advanced Options it does not, and if I try to add it, I am told that that file does not contain a JRE. Since the thing does NOT appear automatically (in LO) please explain what I am doing wrong. (Windows 10)

chrisg gravatar imagechrisg ( 2017-12-21 16:28:30 +0200 )edit

@chrisg Sorry, but there a a number of problems with your comment. When you state 'latest version' for anything, it really means nothing. Just in LO it can refer to multiple versions. Java is same. Also, it can change from one version to another this hour because of a release. You also state '.. and if I try to add it,..' but never state the steps you used to try this. Also not sure what is meant by 'Configure Java'. This may be best as a new question with more details included.

Ratslinger gravatar imageRatslinger ( 2017-12-21 17:37:03 +0200 )edit

@chrisg I'm having the same exact problem as you describe in your reply dated 12/21/17 (2 up). I have done the same as you, installed & uninstalled java (Win10 x64). I also saw the jre when configuring. No jre shows in the LO advanced options. We're you able to resolve the issue, please? Thx.

Imagine gravatar imageImagine ( 2018-04-26 01:21:21 +0200 )edit

@Imagine Have you followed the links in my answer(s)? What LO version & bitness are you using? Have you tried to add the JRE using the Add button in the Advanced dialog?

Ratslinger gravatar imageRatslinger ( 2018-04-26 17:39:31 +0200 )edit

@Ratslinger Yes, I've followed the links, thank you. I'm using Version: (x64). When attempting to use the Add feature, I have selected each folder located here: C:\Program Files\Java\jre-10.0.1. It says there aren't any jre's in the folders.

Imagine gravatar imageImagine ( 2018-04-27 17:15:44 +0200 )edit
Login/Signup to Answer

Question Tools



Asked: 2016-08-30 19:09:09 +0200

Seen: 4,877 times

Last updated: Jun 16