I downloaded and installed the rpms on my centos box, leaving off the jre, because it conflicted with an rpm that was already installed. When I tried to start up oo, I got:
> /opt/openoffice.org3/program/soffice
libGL warning: 3D driver claims to not support visual 0x4b
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///usr/lib/gcj-4.1.1/libjvm.so./opt/openoffice.org3/program/soffice: line 134: 3208 Segmentation fault "$sd_prog/$sd_binary" "$@"
I tried installing the jre that came with oo3, with -i, to not overwrite the pre-existing rpm, but am still getting the same error.
I doubt that I really need java. Can I change a config file somewhere to tell oo not to look for it?
Ali
[Solved] Can't start OOo 3 on Linux
[Solved] Can't start OOo 3 on Linux
Last edited by Hagar Delest on Sun Dec 20, 2009 5:48 pm, edited 3 times in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OOo 3.0.X on Linux-Other
Re: Can't start oo3 on linux
Did you have OOo installed before?
If so, try renaming the OOo settings directory, or running OOo3 from a different login that hasn't run OOo before. If it will run that way, then you should be able to go into Tools > Options > OO.org > Java and disable it.
If so, try renaming the OOo settings directory, or running OOo3 from a different login that hasn't run OOo before. If it will run that way, then you should be able to go into Tools > Options > OO.org > Java and disable it.
AOO4/LO5 • Linux • Fedora 23
Re: Can't start oo3 on linux
I've got the same error message trying to start OO on Debian:
/opt/openoffice.org3/program$ soffice
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///usr/lib/../lib/gcj-4.1/libjvm.so./usr/bin/soffice: line 134: 14667 Segmentation fault "$sd_prog/$sd_binary" "$@"
Renaming or removing settings directory takes no effect
/opt/openoffice.org3/program$ soffice
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///usr/lib/../lib/gcj-4.1/libjvm.so./usr/bin/soffice: line 134: 14667 Segmentation fault "$sd_prog/$sd_binary" "$@"
Renaming or removing settings directory takes no effect
OOo 3.0.X on Debian
Re: Can't start oo3 on linux
Well, in that case, I'd try to find an OO.org download that includes the Sun JRE and install that.
AOO4/LO5 • Linux • Fedora 23
Re: Can't start oo3 on linux
Solved by installing Sun JRE and resetting profile.
But it's strange to use OO only by installing some proprietary software
But it's strange to use OO only by installing some proprietary software

OOo 3.0.X on Debian
Re: Can't start oo3 on linux
OOo doesn't require Java and it seems to work fine with the OpenJDK that Fedora ships.
It looks like you have a version of the gcj Java-work-alike installed, which apparently fails when OOo tries to use it. I have no idea whose problem that is or how to fix it.
If you don't want to install Sun's Java, you can run OOo without Java, or try the OpenJDK. It seemed easiest to just install the JRE that was tested to install and work with OOo.
It looks like you have a version of the gcj Java-work-alike installed, which apparently fails when OOo tries to use it. I have no idea whose problem that is or how to fix it.
If you don't want to install Sun's Java, you can run OOo without Java, or try the OpenJDK. It seemed easiest to just install the JRE that was tested to install and work with OOo.
AOO4/LO5 • Linux • Fedora 23
Re: [Solved] Can't start oo3 on linux
I had the same problem with my CentOS 5.2 (32-bit), while I was trying to switch from OpenOffice 2.3 (RPM repository) to 3.0.1 (downloaded RPMs).
When launching the application (command: /opt/openoffice.org3/program/soffice.bin) I received an error:
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///usr/lib/gcj-4.1.1/libjvm.so.Segmentation fault
The resolution was to issue a command: rm -rf ~/.openoffice* <<<--- after that, the application started successfully.
Probably it would be sufficient just to do: rm -rf ~/.openoffice2.0
I'm not sure about the cause to this. I did had some additional plugins and multiple Java installations, but I cannot be sure.
When launching the application (command: /opt/openoffice.org3/program/soffice.bin) I received an error:
[Java framework]sunjavaplugin.so could not load Java runtime library:
file:///usr/lib/gcj-4.1.1/libjvm.so.Segmentation fault
The resolution was to issue a command: rm -rf ~/.openoffice* <<<--- after that, the application started successfully.
Probably it would be sufficient just to do: rm -rf ~/.openoffice2.0
I'm not sure about the cause to this. I did had some additional plugins and multiple Java installations, but I cannot be sure.
-
- Posts: 123
- Joined: Sun Dec 20, 2009 8:12 am
Re: [Solved] Can't start oo3 on Linux
The solutions above didn't work for me (on Debian Lenny, installed OpenOffice 3.1.1 by running dpkg -i .deb in the DEBS directory. Didn't know how to change their status to "selected" so that the update script would work). OO2.4 was installed and I hadn't uninstalled it.
What did work was to:
Find libjvm.so (in my case a symbolic link)
Install the latest jre in /usr/lib/jvm (the location of the non-working jre based on locating libjvm.so)
Rename the symbolic link to libjvm.so (mv libjvm.so libjvm.so-original)
Create a new symbolic to libjvm.so in the just-installed jre
(in my case /usr/lib/jvm/jre1.6.0_17/lib/i386/client, 'ln -s -T /usr/lib/jvm/jre1.6.0_17/lib/i386/client/libjvm.so libjvm.so)
Start OO3, work through the intiial menus and get to the point where I could go to Tools->Options then drill into Java and make sure the correct jre was selected.
Exit OO3 and change the above symbolic link back to the original with rm and mv (in case something else needed the other jre).
Restarted OO3 and it worked. For some reason editing ~/..openoffice.org/3/user/config/javasettings_Linux_x86.xml didn't work but it was modified to the same entry after exiting OO3.
What did work was to:
Find libjvm.so (in my case a symbolic link)
Install the latest jre in /usr/lib/jvm (the location of the non-working jre based on locating libjvm.so)
Rename the symbolic link to libjvm.so (mv libjvm.so libjvm.so-original)
Create a new symbolic to libjvm.so in the just-installed jre
(in my case /usr/lib/jvm/jre1.6.0_17/lib/i386/client, 'ln -s -T /usr/lib/jvm/jre1.6.0_17/lib/i386/client/libjvm.so libjvm.so)
Start OO3, work through the intiial menus and get to the point where I could go to Tools->Options then drill into Java and make sure the correct jre was selected.
Exit OO3 and change the above symbolic link back to the original with rm and mv (in case something else needed the other jre).
Restarted OO3 and it worked. For some reason editing ~/..openoffice.org/3/user/config/javasettings_Linux_x86.xml didn't work but it was modified to the same entry after exiting OO3.
Apache OpenOffice 4.1.2 on Linux (Ubuntu 14.04 LTS)
Re: [Solved] Can't start oo3 on Linux
Thanks for letting us know, it might prove useful to others.
Ubuntu 14.10 Utopic Unicorn, LibreOffice Version: 4.3.3.2
Gurkha Welfare Trust
Gurkha Welfare Trust