Languagetool 4.1: Error while adding it with Extension Manager in LibreOffice 6.

Hi All,

I am working on Gnome Desktop.

While adding ‘languagetool 4.1’ extension to LibreOffice 6, I get the following error:

‘( { { Message = “javaloader error - could not find class com/sun/star/comp/loader/JavaLoader”, Context = ( @0 } }’

OpenJDK 8 Runtime Environment is already installed.

Checking at the website of languagetool, I did not get any solution. I have given this error to their forum as well, ( but have not received any response yet.

I checked here as well but could not find a solution in the previous replies.
Hence, I am requesting if someone could suggest a solution. If a bug report is to be raised, I am clueless how to do that.

Guidance shall be most appreciated.

Thanks & Regards’


In LibreOffice - Extra - Options - Advanced make sure you’ve selected the java version. It will restart LibreOffice, then try again to add the language tool.

Hi [Knurpht,

[u]Thanks a lot for your prompt reply. I Did what you advised.

However, other issue that has cropped up is that the Oracle Java needs to be installed. When the ‘Add’ button on the side is pressed it looks for where the Oracle Corporation 1.8.0_171 java is located in home directory.

I have no clues how to install Oracle Corporation 1.8.0_171 java. Further, there are two more buttons ‘Parameters…’ and ‘Class Path…’ to be attended to.
Request further guidance please.

Thanks & Regards


Hi Knurpht,

Searched on Google for oracle Java and found ‘one-click install’ for Leap 42.3 at I installed the same and repeated the steps you had given earlier. There is a new installation of ‘Oracle Corporation java version 1.8.0_162’ shown in the Java runtime environment list and it is automatically selected. On checking up in ‘/usr’ the following libs are found:

I do not know, which one of these should be pointed to when ‘Add’ button is selected.
Then there is the further question of ‘java start parameters’ and the ‘class path’.

You will be able to figure these out. Request further guidance plase.

Thanks and regards.


It’s a bug in the libreoffice packages in the 42.3 update repo:

Installing a different Java version (or selecting one in LO) won’t help, some of the java classes included in LO itself are broken/incomplete.
This only applies to the packages in the 42.3 update repo though for some (unknown) reason, the ones in LibreOffice:6.0 should be fine.

Or upgrade to Leap 15.0.

Hi Wolfi323,

Many thanks for your reply.

I am already running LibreOffice Version Version: Build ID: 00m0(Build:2). This problem continues with this version as well. It may be set right perhaps only when someone attends to the Bug Report.

I am not sure what I should do. I do not like the idea of upgrading the system t0 Leap 15 etc. My system is working OK with Leap 42.3 except that I am not able to operate the language tool for checking grammar. Spellcheck is working fine.

Shall probably wait till the Bug is worked on by experts!!!

Many thanks once again.

Lot of Regards,


The current version is

But as I wrote, the one from the 42.3 update repo is “broken”.
Add the above-mentioned repo and install libreoffice from there:

sudo zypper ar -f libreoffice
sudo zypper dup --from libreoffice

(or do it via YaST, either click on “Versions” to explicitly choose the exact package after you added the repo, or select the repo in View->Repositories and click on “Switch system packages to the versions from this repo” above the package list)

Hi Wolfi323,

Thanks a lot. I am sorry I did not follow you in the first place. Thanks for the enlightening code etc. This time the Language Extension got loaded. It is working fine.

I have always received the best of support from the Forum. God Bless you all!

Lots of Regards,