This is the mail archive of the mailing list for the Java project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

OpenOffice 1.9.X and gcj

I've been looking into getting the java parts of the up and coming OOo
2.0 working under gcj, ( has my
patches to date). 

There are some buildtime java utilities in OOo which create the user
help documentation, and pretty much everything else that uses java is
optional. The xmlhelp, XmlSearch and helpcontent2 modules of OOo are the
ones involved in generating the help documentation. I've gottem xmlhelp
and XmlSearch building with gcj -C, but have now run into a runtime snag
when XmlSearch gets used in helpcontent2. The existing program uses an
ancient 19991105 xt.jar from and it
craps out with this error...

Exception in thread "main" java.lang.NullPointerException
   at, java.lang.String, (/usr/lib/
   at (/usr/lib/
   at com.jclark.xsl.dom.RootNode.RootNode(org.w3c.dom.Node,
com.jclark.xsl.dom.DOMExtensions,,, java.lang.String, int) (Unknown Source)

I've boiled the problem down as a standalone simple example as...

./ with gcj fails with the above error,
while ./ with sun's java works fine.

Should I be able to get my little test program going, i.e. its a gcj
problem of some kind? or do I need to come at my problem from a
different angle because theres an obvious (bear with me, my gcj
experience is approx 3 days), flaw.

redhat FC3,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]