Ask Your Question

No Java installation could be found. What do I have to do

asked 2016-03-25 16:25:25 +0100

Bigdave94 gravatar image

updated 2016-03-25 17:14:30 +0100

ratrace gravatar image

Trying to create new database. Error box shows: the connection to the data source "dbfilename" could not be established. No Java installation could be found. Please check your installation

edit retag flag offensive close merge delete


What version of libreoffice do you use? What's your operating system?

ratrace gravatar imageratrace ( 2016-03-25 17:15:45 +0100 )edit

Hi ratrace, Version, Build ID: 55b006a02d247b5f7215fc6ea0fde844b30035b3 on Windows 10

Bigdave94 gravatar imageBigdave94 ( 2016-03-25 17:31:34 +0100 )edit

2 Answers

Sort by » oldest newest most voted

answered 2016-03-26 03:47:45 +0100

Ratslinger gravatar image

You need to install JDK 7 or 8 for your operating system obtained here:JDK8. Make sure to use 32-bit or 64-bit depending on your Windows install. If you've already done that and it still doesn't work, from the menu select Tools->Options and in left column under LibreOffice select Advanced and make sure box is checked near top of right panel titled 'Use a Java runtime environment'.

edit flag offensive delete link more


I had the same problems with LibreOffice v5.3 and lost many hours trying to find the solution. It should be made clear in the program, or in the error message that the JDK8 must be installed as it doesn't seem to work with JRE8. I am running Window 10Pro.

TRS gravatar imageTRS ( 2017-05-11 00:33:05 +0100 )edit

This is not a LibreOffice issue but rather a problem between Apple & Oracle.

Ratslinger gravatar imageRatslinger ( 2017-05-11 01:09:34 +0100 )edit

I got the same error message with Libre Office (x84), on Windows 10. Trying to create a new database in Libre Office Base. "The connection to the data source "New Database" could not be established. No Java installation could not be found. Please check your installation"

I already had the latest Javascript runtime installed (JRE 10.0.1)

Fix in LibreOffice Base Tools, Options, Advanced , add path to the jdk

c:\program files\java\jre-10.0.1

Close LibreOffice, restart LibreOffice

newchapmj1 gravatar imagenewchapmj1 ( 2018-04-22 00:53:18 +0100 )edit

Does anyone know how to install JDK on GNU/Linux? Nevermind, I figured it out - it's the package "openjdk-8-jdk" in the Ubuntu repositories.

hartkemd gravatar imagehartkemd ( 2018-08-17 22:08:09 +0100 )edit

answered 2018-12-15 07:39:20 +0100

updated 2018-12-15 07:40:14 +0100

Step 1 : Go to the java website and choose the manual download option

Step 1 Alternative : Copy and paste the link below if you want to save some time

Step 2 : Download the 64 bit "offline' version

Step 3 : Run the Database program again

Step 4 : Thank me, I just saved you so much time and the additional headache

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-03-25 16:25:25 +0100

Seen: 9,059 times

Last updated: Dec 15 '18