P.S. and some corrections

tora - Takamichi Akiyama wrote:
OpenOffice.org 3.1.1 Linux crashes right after clicking on the button
"Finish" in the dialog "Welocome to OpenOffice.org."
The expectation is that the StarCenter appears.

Phenomenon
 $ /opt/openoffice.org3/program/soffice.bin
 [Java framework]sunjavaplugin.so could not load Java runtime library:
 file:///usr/lib/gcj-4.1.1/libjvm.so.

Workaround
 # mv /opt/openoffice.org/ure/lib/libgcc_s.so.1{,-original}

 $ /opt/openoffice.org3/program/soffice.bin

Exception in thread "Thread-11" java.lang.NoClassDefFoundError:
...
at com.sun.star.registration.Registration$_Registration$1.run(Registration.java:173)

Although the registration process failed at the initial setup,
the Java seems to be working afterward. A Wizard in the Base works,
an attempt of registering a macro for a certain event in the Tools - Customize 
works, ...

E.g.
$ /opt/openoffice.org3/program/soffice &

$ grep libjvm /proc/$(pgrep soffice.bin)/maps | grep r-x
00a80000-00a9b000 r-xp 00000000 08:03 1698978    
/opt/openoffice.org/ure/lib/libjvmfwk.so.3
00deb000-00df0000 r-xp 00000000 08:03 1698977    
/opt/openoffice.org/ure/lib/libjvmaccessgcc3.so.3

After clicking on the button "Macro..." in the "Events" tab of Tools - 
Customize...

$ grep libjvm /proc/$(pgrep soffice.bin)/maps | grep r-x
00a80000-00a9b000 r-xp 00000000 08:03 1698978    
/opt/openoffice.org/ure/lib/libjvmfwk.so.3
00b35000-00b36000 r-xp 00000000 08:03 589138     /usr/lib/gcj-4.1.1/libjvm.so
00deb000-00df0000 r-xp 00000000 08:03 1698977    
/opt/openoffice.org/ure/lib/libjvmaccessgcc3.so.3

/usr/lib/gcj-4.1.1/libjvm.so has been loaded and it seems to be working.

$ cat $HOME/.openoffice.org/3/user/config/javasettings_Linux_x86.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--This is a generated file. Do not alter this file!-->
<java xmlns="http://openoffice.org/2004/java/framework/1.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
<enabled xsi:nil="true"/>
<userClassPath xsi:nil="true"/>
<vmParameters xsi:nil="true"/>
<jreLocations xsi:nil="true"/>
<javaInfo xsi:nil="false" vendorUpdate="2004-01-30" autoSelect="true">
<vendor>Free Software Foundation, Inc.</vendor>
<location>file:///usr/lib</location>
<version>1.4.2</version>
<features>0</features>
<requirements>0</requirements>
<vendorData>660069006C0065003A002F002F002F007500730072002F006C00690062002F00670063006A002D0034002E0031002E0031002F006C00690062006A0076006D002E0073006F00</vendorData>
</javaInfo>
</java>

Tora


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to