Comment 19 for bug 222803

Revision history for this message
bronto (mmarongiu) wrote :

Hello

I can't tell if I hit an upgrade bug, since it is the first time I use the wizards, anyway here we go.

When I tried to use the Fax wizard, I got a warning dialog. The dialog recommended to configure a JRE in the settings, and to install openoffice.org-java-common.

The package was already in place.

Configured OO to use the JRE 1.6 I had already installed. No way.
I removed JRE 1.6, installed JRE 1.5 and reconfigured OO to use it: no way. Starting OO from the command line returned a "javaldx failed" error, and nothing more.
I reinstalled openoffice.org-java-common: no way
I installed both JRE 1.6 and 1.5 and configured it to use 1.6: no way.

At that point I tried again to run from the command line. After trying to use the fax wizard I got this error:

bronto@lotus:~$ oowriter
javaldx failed!
bronto@lotus:~$ [Java framework]sunjavaplugin.so could not load Java runtime library:
file:///usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client/libjvm.so.
bronto@lotus:~$

I didn't have any java-6-sun-1.6.0.03, I have java-6-sun-1.6.0.06 instead.

root@lotus:/usr/lib/jvm# ln -s java-6-sun-1.6.0.06 java-6-sun-1.6.0.03
root@lotus:/usr/lib/jvm# ls -l
total 8
lrwxrwxrwx 1 root root 23 2008-06-01 11:59 java-1.5.0-sun -> java-1.5.0-sun-1.5.0.15
drwxr-xr-x 6 root root 4096 2008-06-01 11:59 java-1.5.0-sun-1.5.0.15
lrwxrwxrwx 1 root root 19 2008-06-01 12:50 java-6-sun -> java-6-sun-1.6.0.06
lrwxrwxrwx 1 root root 19 2008-06-01 12:58 java-6-sun-1.6.0.03 -> java-6-sun-1.6.0.06
drwxr-xr-x 6 root root 4096 2008-06-01 12:50 java-6-sun-1.6.0.06

Now it works. So, either the wrong path is hardcoded somewhere, or a setting is not being updated.

I hope this helps.

Ciao
--bronto