This is the mail archive of the java@gcc.gnu.org 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]

[FW] Re: which jvm for gnujaxp?


Hi all,

I had a problem running gnujaxp transformation with sablevm, jamvm (but
I don't know their mailing list) and gij. I did succeed with kaffe.

Chris investigate a little more and it seems the problem is when native
code is called (libxml or libxsl).

Here is an example.

NOTE: I post this mail on several mailing lists but only reply on your
      own one, thanks.

--- Begin Message --- Arnaud Vandyck wrote:
Can I forward this mail to the gcj dev mailing list?

Sure. I attach a simple test case which uses the libxmlj SAX parser to parse an XML file given on argv. Using java=gij, I get the following:


# ./saxtest test.xml
>> Parsing test.xml
Exception in thread "main" java.lang.UnsatisfiedLinkError: parseStream
<<No stacktrace available>>
Exception in thread "Thread-1" java.lang.UnsatisfiedLinkError: freeLibxsltGlobal
<<No stacktrace available>>


# gij --version
gij (GNU libgcj) version 3.4.2

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


# uname -a
Darwin bobtail.local 7.5.0 Darwin Kernel Version 7.5.0: Thu Aug 5 19:26:16 PDT2004; root:xnu/xnu-517.7.21.obj~3/RELEASE_PPC Power Macintosh powerpc


Using the Apple-supplied java, the program behaves as expected.
--
Chris Burdess

Attachment: saxtest.java
Description: Text document

Attachment: saxtest
Description: Binary data


--- End Message ---

-- 
Arnaud Vandyck
http://fosdem.org/
Free and Open Source Developers' European Meeting
February 26-27 2005,
Bruxelles, Belgium

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