Ask Your Question
0

I can't get LibreOffice to recognise/find Java.

asked 2018-12-10 00:23:11 +0200

Pable gravatar image

I have LibreOffice 6.0.7.3 (x64) installed on a Windows 10 computer. I also let Java upgrade to version 8 (build 1.8.0_191-b12). I have not been successful in getting LibreOffice to recognize any JRE. I need to access a database and I am dead in the water. Any ideas?

edit retag flag offensive close merge delete

Comments

Hello, What type of database are you attempting to access?

Ratslinger gravatar imageRatslinger ( 2018-12-10 00:42:10 +0200 )edit

Try the less intrusive options offered by others first. However, if you are following the proper Java extension installation instructions for your particular database, you know database stuff in general, but nothing works inexplicably, and if your symptom is that the radio button for the Java runtime won't stay selected in options/preferences, then as a last resort you might try resetting your LO user profile by restarting LO into safe mode. @ebotsuggested this for my case, and it was indeed the only solution that worked for me. Only try this if you have exhausted other options though, as you might not have installed the JDBC extension properly (if that's what you are attempting), entered the wrong server credentials, have a problem with your local or remote database server, haven't specified a Java class path, or a host of other possible problems.

PhLo gravatar imagePhLo ( 2018-12-10 02:55:31 +0200 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2018-12-11 03:28:45 +0200

LO122442 gravatar image

Had the same problem with no JRE found. Turns out that Java was installing the 64 bit version into the (X86) 32 bit program files folder and Office could not find it. Had to download the 'offline' version of the Java 64bit to be able to install it in the X64 Program Files folder and then everything works fine.

edit flag offensive delete link more
0

answered 2018-12-10 04:39:08 +0200

Pable gravatar image

I finally gave up and uninstalled LibreOffice and Java. Then downloaded fresh copies of both. Installed Java, rebooted, installed LibreOffice, rebooted. Everything seems to be working now.

edit flag offensive delete link more
0

answered 2018-12-10 01:18:05 +0200

floris v gravatar image

Make sure tyat you have a 64 bits version of Java.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

2 followers

Stats

Asked: 2018-12-10 00:23:11 +0200

Seen: 222 times

Last updated: Dec 11 '18