Ask Your Question
0

Installing language pack in LibreOffice Writer 4.4.2.2 Linux (Ubuntu 15.04)

asked 2015-08-18 12:34:12 +0200

metox gravatar image

updated 2015-08-19 03:53:06 +0200

Alex Kemp gravatar image

Hi! I tried to install the language pack in LibreOffice 4.4.2.2, because I would like to have a Swedish spell-checker. I did as follows:

  1. Downloaded the language the extension from LibreOffice.org .
  2. Tools->Extension Manager->Add and marked the file followed by Open.
  3. After a while got an error message indicating Java was missing, checked that and it was true.
  4. Installed Java runtime according to: https://www.digitalocean.com/communit... which went well.
  5. Repeated the installation from step 2 and now this error message appeared:

com.sun.star.uno.RuntimeException) { { Message = "[jni_uno bridge error] UNO calling Java method writeRegistryInfo: non-UNO exception occurred: java.lang.NoClassDefFoundError: com/sun/star/task/XJobExecutor\X000ajava stack trace:\X000ajava.lang.NoClassDefFoundError: com/sun/star/task/XJobExecutor\X000a\X0009at java.lang.ClassLoader.defineClass1(Native Method)\X000a\X0009at java.lang.ClassLoader.defineClass(ClassLoader.java:800)\X000a\X0009at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)\X000a\X0009at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)\X000a\X0009at java.net.URLClassLoader.access$100(URLClassLoader.java:71)\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:361)\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:355)\X000a\X0009at java.security.AccessController.doPrivileged(Native Method)\X000a\X0009at java.net.URLClassLoader.findClass(URLClassLoader.java:354)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:425)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:412)\X000a\X0009at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:793)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:358)\X000a\X0009at com.sun.star.comp.loader.RegistrationClassFinder.find(RegistrationClassFinder.java:52)\X000a\X0009at com.sun.star.comp.loader.JavaLoader.writeRegistryInfo(JavaLoader.java:380)\X000aCaused by: java.lang.ClassNotFoundException: com.sun.star.task.XJobExecutor\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:366)\X000a\X0009at java.net.URLClassLoader$1.run(URLClassLoader.java:355)\X000a\X0009at java.security.AccessController.doPrivileged(Native Method)\X000a\X0009at java.net.URLClassLoader.findClass(URLClassLoader.java:354)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:425)\X000a\X0009at java.lang.ClassLoader.loadClass(ClassLoader.java:358)\X000a\X0009... 15 more\X000a", Context = (com.sun.star.uno.XInterface) @0 } }*

Do you gave an suggestions how to resolve this problem? My skills Linux are very limited, I am in the beginning of the learning curve.

Rgds, Göran

[Edit: added LO + Ubuntu tags]

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2015-08-18 19:43:56 +0200

metox gravatar image

I have finally solved the problem, as follows:

  1. Removed the previous Java and LibreOffice (4.4.2.2) installations.
  2. Installed Java and LibreOffice 5.0 in the mentioned order.
  3. Installed the Swedish spell-checker.
  4. Everything went fine!
edit flag offensive delete link more
0

answered 2015-08-18 14:14:17 +0200

Alex Kemp gravatar image

updated 2015-08-19 03:46:49 +0200

Hi Göran

Don't you hate it when Linux starts acting like Windows™?

First try the all-encompassing (and simple, easy + reversible) fix of:

Resetting the user profile:-

"If you notice any strange behavior on LibreOffice, or simply it fails to start, the first thing to try is to reset the user profile."

  1. Shutdown LO/OO + Quickstarter
  2. Find your user-profile directory
    (enable 'Show hidden files')
    (note: 5.x profile location is identical to 4.x)
  3. Rename it
  4. Restart LO/OO

...and try again.

LO/OO is very prone to Profile Corruption. In the absence of an existing profile it is designed to re-create a new profile, and that neatly fixes many, many problems.

Here's some further (possible) help:

There are lots of reports of LO-4.4 having issues with Java, including Q45627 + Bug1213130 (other bugs are also available).

The following comes from the last two links:-

"On Ubuntu, after installing libreoffice-java-common package all works fine"

(the above from Repository; use the following if you want to (re)install LO from Repo):
https://launchpad.net/~libreoffice/+archive/ubuntu/ppa

This additionally comes from Q45627 + first link:-

"SOLVED by uninstalling libreoffice (apt remove libreoffice-* ) and then installing the latest version from the repositories. funnily I think this is the same version I had (4.4.0), but now it is working."

If this helps then please tick the answer (✔)

edit flag offensive delete link more

Comments

Hi and thanks for the reply! However, I am a beginner in Linux and as such I don't have a clue how to execute your instructions, so more details would be appreciated. Do I have to remove the Java runtime, if so is: apt-remove java- the command to use? /Göran

metox gravatar imagemetox ( 2015-08-18 15:26:15 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-08-18 12:34:12 +0200

Seen: 2,659 times

Last updated: Aug 19 '15