[Solved] Java Run Time environment not recognised

Issues with installing under all Linux Distributions

[Solved] Java Run Time environment not recognised

Postby moriatynz » Mon Aug 26, 2019 2:06 pm

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
moriatynz
 
Posts: 4
Joined: Sat Nov 24, 2018 6:49 am

Re: Java Run Time environment not recognised

Postby RoryOF » Mon Aug 26, 2019 2:11 pm

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.7 on Xubuntu 18.04.3 (mostly 64 bit version) and very infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 29605
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Java Run Time environment not recognised

Postby moriatynz » Tue Aug 27, 2019 4:21 am

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
moriatynz
 
Posts: 4
Joined: Sat Nov 24, 2018 6:49 am


Return to Linux

Who is online

Users browsing this forum: No registered users and 1 guest