0

I read Seth's post here: How do I install LibreOffice 4?. I wanted to upgrade, so I ran the commands as provided by Mik to upgrade using stable ppa.
For some reason now when I try to run LibreOffice it starts up, shows the splash screen, loads about maybe 2-3% and then quits, giving me an Ubuntu error. I might have only partially updated/upgraded, so this might be part of the problem...I'm not sure.

HELP!! I really need to use LibreOffice for a Biology class I have. I can use Abiword for now, but I really prefer LibreOffice.

I want to try and fix it, but if I don't get a quick answer I am afraid I may have to go to (Heaven forbid) Windows XP I dual-boot with to use MS Word/Open Office.

Here's the error output I got when I launched writer from terminal:

nate@texno-Satellite-A105:~$ libreoffice --writer
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx

terminate called after throwing an instance of com::sun::star::uno::DeploymentException'
7
  • 1
    What is the actual error? Please put it in your question.
    – horIzoN
    Mar 19, 2013 at 15:27
  • It's not doing it now, it just quits, no error :( It was giving me the error prior to the reboot I did. Mar 19, 2013 at 15:28
  • Boot it from terminal?
    – horIzoN
    Mar 19, 2013 at 15:30
  • Ok, I will try starting it from terminal. Done! Mar 19, 2013 at 15:32
  • 1
    If you suspect it's a problem during installation, try sudo apt-get install -f to fix it.
    – carnendil
    Mar 19, 2013 at 16:14

1 Answer 1

2

In this case the solution centered around my suggestion that files in ~/.config/libreoffice were causing the problems after the upgrade.

Important Note: you may want to make a copy of your libreoffice folder if it has any important custom files in it before you remove it.

If the permissions are correct and libreoffice still doesn't launch, then delete ~/.config/libreoffice in your filebrowser or with

rm -rf ~/.config/libreoffice

and libreoffice will regenerate a new folder when it starts.


If, for future readers, the suggestions made so far are unsuccessful, you could install ppa-purge with

sudo apt-get install ppa-purge

and downgrade all the libreoffice packages by entering

sudo ppa-purge ppa:libreoffice/libreoffice-4-0

and then reinstall the standard repository version of libreoffice.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .