Libreoffice Requires A 64-bit Java Runtime Environment

1 view
Skip to first unread message

Sabel Kantah

unread,
Aug 4, 2024, 9:45:09 PM8/4/24
to izintaswobb
NoGo to tools options advanced and toggle it off there see if it goes away not sure why its popping up.

In writer

If youre not doing something that requires it should not popup if just starting it should not pop up

Myself never needed it.


OLD INTERNET, like 1995--to yesterday:

superuser, stackexchange, ubu forums, reddit: "ok here's what you have to do to get rid of this message. go into etc/libreoffice/x/y/z and open this with nano. then uncomment XABC and type in "; JKLMNOP : gurgle awk grep kill stupid message; ". Save. then go to settings to uncheck the radio box....

...next you have to symlink the new file to the path of writer by sudo ln abunchofstuff here and then you will have it"


NEUTERED INTERNET TODAY:

superuser: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."

stackexchange: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."

ubu forum: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."

reddit: "there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist."

all else: ""there's really no point fighting this error. install JDK and show libreoffice the path. go to your software center and find openjdk-11 and click download. then go into tools-settings-advanced and blah blah blah. Accept this. Don't resist.""


Are you opening a file ? Or just start a blank file? If it is a file from somewhere, it might contain some macro that need Java runtime. If it is blank file....No idea. WTF.

Also Libreoffice wil have update (only a rebuild and default changes) this sync, lets see if that warning still pops up.


brent Hey Brent, I really don't think so. But to be sure you can undo it anytime by running sudo nano /etc/environment in terminal and put a # before GSK_RENDERER=gl,save and reboot and see if this leads to any difference.


Axios I asked if JRE installation was required by solus to run libreoffice? they didn't answer me here, maybe they will on devtracker.

I can install it, I just don't want to install it unless told by Solus Devs it was mandatory for LO to run without a popup dialogue box. I need to try other things so I hope the give me some t-shooting tips. I hate it since I use LO a lot. Thanks for the response. If you have read it's a common thing...then perhaps I should read too. I'm sure you saw some [solved] posts.


brent Not really other than installing jre one person deleted the libreoffice directory in .config

and that worked not sure if they just deleted and restarted LO or they uninstalled deleted that dir

and reinstalled.

But in the past I have fixed some programs by unistalling and checking for dir and deleteing stuff then reinstalling

kinda like old winders days


LibreOffice tells me that it requires a JRE and that I do not have one. I have installed Oracle Java 8 and rebooted my computer. The Configure Java application tells me that Java is installed and gives me the path. LibreOffice still does not find the JRE. In Tools->Options->Advanced there is not JRE indicated. I have tried to Add the JRE, but navigating to the path indicated by Configure Java results in LibreOffice telling me there is no JRE.



I ended up going to the LO website, downloading LO 6.4 and it detected Java at /usr/lib/jvm/java-14-oracle/bin/java. And everything is fine now. By everything I mean that the Zotero toolbar is functional.


Simple cure for Libre Office not seeing JRE.

I had both Open Office and Libre Office added later.

Neither could see any JRE JDK via Options/Advanced

Suspected corruption from several uninstall operations.

Uninstall, download latest versions of each Install anew

Bingo both saw Java and installed easily under Options/Advanced.


libreofficehelp.com is a leading and fastest growing website catering to office productivity suites. We cover all the latest happenings, news, upcoming trends, tutorials, fixes and a lot more happening in the office productivity technology space.


LibreOffice vereist een Java Runtime Environment (JRE) om deze taak uit te voeren. De geselecteerde JRE is defect. Selecteer een andere versie of installeer een nieuwe JRE en selecteert u deze onder LibreOffice - Voorkeuren - LibreOffice - Geavanceerd.


You have to make a free Oracle account to download the JDK. I linked you to the 1.8 version which is what I recommend. It's also what Oracle recommends too for most people, the latest build is 271. I should probably update mine. :)


So you have multiple Java's installed and your macOS default (as shown via terminal) is Java 15 which is definitely not recommended. It's possible that even though your LibreOffice is selected to use Java 8, it's still not doing things properly and I suggest changing your macOS's Java itself to be 1.8 also by changing the Java Home environmental variable.


And that's where it should show all your Java JDKs installed and you get get rid of the Java 15. For example, here's a screenshot that shows what Javas I have and where you can delete the 15 (presumably):


Now that your Java in terms of macOS seems to be straightened out. I think the issue is confined to the Libre Office. Personally, now that things are in a good position (in my opinion) in terms of macOS + Java I would remove LibreOffice and reinstall it and see if its reinstall can straightened everything out.


To do this you'll want to delete two things, the LibreOffice.app in Applications folder, and the contents of the LibreOffice support folder itself. You can choose Finder > Go menu > Go to Folder, and paste in the following path:


FYI, as a test I installed LibreOffice, opened the Database portion, and had no problem creating a new table and successfully adding some test data to that new table. Again, running my normal 1.8 JDK.


Also one more thing: I only ever use the Java JDK as that includes all the portions of the Java JRE and again, LibreOffice's website says the JDK is the version to use. I also did another test: I tried switching the Java in the Advanced settings where it listed also a newer "run-time version" I have to (occasionally for one particular) use, and got the same error you're getting trying to create a 2nd table:


So I do think wiping the LibreOffice config files from Application Support and a fresh reinstall now that you are on 1.8 JDK has a strong chance of working for you. Each version of Java is very self-contained and co-exist nicely with other versions.


So to clarify, what my screen shows are both JDK versions (not JRE). LibreOffice will only work on 1.8 Java (at least based on my testing). If I switch to 1.11 Java I get the same error you do. Finally, switching Java requires you close and re-launch LibreOffice. I can usually switch once, but if I switch again it will crash.


If you can't get this working based on the above information you go ahead and install the 1.11 JDK as well so you can actually have something to switch to....and go ahead switch to that, then close LibreOffice. For me it doesn't work with 1.11, you can try it but I assume you will get the same error. Then re-open LibreOffice, verify it shows 1.11 still as active, then switch back to Java 1.8. Then, Apply and Close that. Close LibreOffice, don't test the database functions yet. Then, re-open LibreOffice and test it out making sure it still shows 1.8. And be sure you are doing this using the test user account.


To explain, my long-shot theory (if nothing else) is that have two Java's installed so that you can have one to switch to temporarily then switch back to 1.8, may actually help make sure LibreOffice is really using what is selected (as opposed to their being only one option to select.


I 'think' only the runtime portion. But I'm not sure what to do next. I'm coming from Linux - all is there with packages in repository. So I'm very new to Mac (only a few hours) on what to install and configure ... I hope you or others can get me to ride along with the machine...


I use LibreOffice to replace MS Office and am pleased with it. However, I'm curious about it's database capability as I now use FileMaker Pro but couldn't afford an upgrade if it every gave up the ghost.


1.15 being currently the "latest" bleeding edge version, 1.11 being the LTS version, and 1.8 being the majority of what most people need as it is what most existing Java apps require or is at least compatible with.


I would actually choose neither and download and install the 1.8 JDK honestly from the link in my last post. JDK 15 would only be if you were a developer and 13 would be good if you had some very particular app that required only that version.


In my quick test of the database function of LibreOffice, I used 1.8 and it was fine. I prefer it since if you ever decide to run some random Java app in the future, 99% chance it will work with 1.8 but not something newer. It's still actively updated too.


Java is required for complete OpenOffice functionality. Java is mainly required for the HSQLDBdatabase engine (used by our database product Base) and to make use of accessibility and assistive technologies.Furthermore some wizards rely on Java technology. See additional topics pertaining to the use of Java in OpenOfficeand Apache OpenOffice in theInstallation FAQ.

3a8082e126
Reply all
Reply to author
Forward
0 new messages