Page 1 of 1

[Solved] Java Run Time environment not recognised

PostPosted: Mon Aug 26, 2019 2:06 pm
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.

Re: Java Run Time environment not recognised

PostPosted: Mon Aug 26, 2019 2:11 pm
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)

Re: Java Run Time environment not recognised

PostPosted: Tue Aug 27, 2019 4:21 am
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

Re: [Solved] Java Run Time environment not recognised

PostPosted: Mon Oct 12, 2020 6:21 pm
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.