Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Trouble with Java / xmerge / XSLT
Trouble with Java / xmerge / XSLT
 
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support
View previous topic :: View next topic  
Author Message
Marc Liyanage
Guest





PostPosted: Tue Jul 06, 2004 6:28 am    Post subject: Trouble with Java / xmerge / XSLT

Sorry for the cross-post, but it's not quite clear if it's for the users or developers list.


I want to use the XML import/export feature that uses Java (xmerge/XSLT I guess) on the OOo 1.1.2 build.

OpenOffice aborts with a fatal error message whenever I try this. In the console log, I saw this message:

Code:
javaloader - could not init javaloader cause of javaloader error - could not find class com/sun/star/comp/loader/JavaLoader


Just a CLASSPATH problem I thought, and after lots and lots of tweaking I found the javarc file in the "users" directory (At ~/Library/Preferences/OpenOffice.org1.1.2/user/config/javarc).

This file seems to be used to set up the classpath, and it was totally messed up, i.e. incorrect entries. It was configured to use Java 1.3.1 instead of 1.4.2, it contained wrong path references to "/Volumes/perdition" , non-existent .jar files in program/classes were mentioned, and others were missing.

After tweaking that file a bit it seems that OpenOffice can now find this JavaLoader class, but now I get a different error message:

Code:
 javaloader - could not init javaloader cause of javaloader error - no mapping from java to C++


Does anyone have any idea how I can fix this? It works well on a Linux system, I just tried it there.
Back to top
OPENSTEP
The One
The One


Joined: May 25, 2003
Posts: 4752
Location: Santa Barbara, CA

PostPosted: Wed Jul 07, 2004 9:47 am    Post subject:

The javarc problem with the paths is bizarre as the installer should be putting the correct javarc onto the system. "perdition" is the name of the build partition for the release which is obviously being embedded into the files or hardcoded somewhere. I'll look into that.

The Java bridges and the like weren't really tested during the release process and may have some issues. It sounds like the Java loader itself is broken from that error message. Best bet is to file a bug against OOo in its IssueZilla system since it'll require a devleoper to actually go in and look at the class loaders and the Java language bindings perhaps.

You may want to look around to see if anyone's gotten JDBC working (anyone?). That'll at least ensure that the JVM code for executing java classes is functional. I don't have a setup myself where I can do JDBC testing.

ed
Back to top
Display posts from previous:   
   NeoOffice Forum Index -> OpenOffice.org MacOS X X11 Support All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.