Ubuntu 20.04 afterdowngrading to Libreoffice 6.4, javaloader error

I removed LBO 7 completely, and reinstalled the default version from the Ubuntu repos (working nicely with Zotero on another machine).

I now get the error that people were previously getting from OpenSuse versions of LBO:

(com.sun.star.uno.RuntimeException) { { Message = "javaloader error - could not find class com/sun/star/comp/loader/JavaLoader", Context = (com.sun.star.uno.XInterface) @0 } }

java -version, returns

openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2.20.04)
OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2.20.04, mixed mode, sharing)

libreoffice-java-common is installed.

I realise that this is a Libreoffice problem.


  • I did have a JRE installed in LBO (or it thought it was installed), but it wasn't working -- despite trying three different versions of LBO and three openjdk versions.

    I managed to fix this by completely removing LBO, and then using Synaptic to search for remnant packages, including the uno-libs, and the liblibreoffice-java -- my guess is one of those was messing with the JRE.

    Reinstalling LBO 7.1 from the ppa then worked. Zotero is back and running properly. Yay.
Sign In or Register to comment.