[Solved] Java Run Time environment not recognised

Issues with installing under all GNU/Linux Distributions
Post Reply
moriatynz
Posts: 4
Joined: Sat Nov 24, 2018 6:49 am

[Solved] Java Run Time environment not recognised

Post by moriatynz »

I am trying to get a JRE recognised by OpenOffice 4.1.6 64 bit (installed using the DEBS from the installer), running on Ubuntu 18.04.3 LTS (64 bit). I have tried installing a variety of different Java distros:
JavaJVM.png
and none of them are recognised as being valid in OpenOffice:
JavaJVMEmptyList.png
If I try to manually add any jvm (32-bit or 64-bit) from any directory in the jvm tree, I get:
JavaNoJVM.png
I can't use LibreOffice on this machine for reasons I won't bore you with here, but I really need Java to be recognised as I need to use JDBC. What am I missing, please?
Much obliged.
Last edited by thomasjk on Tue Aug 27, 2019 4:32 am, edited 1 time in total.
Reason: Mark thread [Solved] and add green checkmark
OpenOffice 4.1.6 Ubuntu 18.04 x86_64
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Java Run Time environment not recognised

Post by RoryOF »

There is a problem with OO 4.1.6 recognising OpenJDK Java version 8u222 and later. If you install an earlier Java, you can upgrade to later Javas, and OO will recognise that it has a Java - it may complain, but extensions will work. This is being fixed in OO4.1.7 (under development)
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
moriatynz
Posts: 4
Joined: Sat Nov 24, 2018 6:49 am

Re: Java Run Time environment not recognised

Post by moriatynz »

Thank you so much RoryOF. You're a life saver! This definitely does the trick. I found an old repo that has a pre-8u222 jre: https://mirror.combahton.net/ubuntu/poo ... openjdk-8/

This site is currently reporting a 404 Not Found Error
Last edited by RusselB on Thu Sep 12, 2019 5:08 am, edited 1 time in total.
Reason: Updated information regarding linked website
OpenOffice 4.1.6 Ubuntu 18.04 x86_64
hitjethva
Posts: 1
Joined: Mon Oct 12, 2020 6:12 pm

Re: [Solved] Java Run Time environment not recognised

Post by hitjethva »

I have the same error and I resolve this by installing the Java full-stack on my Ubuntu 20.04. I have follow this tutorial for installing Java.
OpenOffice 4.1.1 Ubuntu 18.04
Post Reply