On Tue, 2008-03-04 at 08:04 +0100, Mathias Bauer wrote: > does anybody know whether > some of the Java replacements (gcj etc.) is compatible to Java 1.5?
First off, I don't know the current capability of gcj. My experience with gcj is strictly limited to as it was 1.5 years ago, when I worked on generating a native shared object from Java code using gcj. When I tried the *then* latest gcj (I think it was 4.2.x), compiling a Java code targeted for 1.5 was a mixed bag, but more failed cases than successful cases at that time. It did a fairly good job building a 1.4-targeted code, but there were some corner cases where even compiling 1.4 code failed. Swing API was BTW out of the question. In the end, I was able to create a native shared object that I could use from a C++ code without JVM's presence (but it had dependency on libgcj.so). But I had to make some changes to the source code to get it to build. Given that experience, I would not rely on gcj for full 1.5 compatibility, and a big "maybe" on 1.4. gcj may probably be in better shape today than it was back then, but I doubt that gcj features a full conformance to Java 1.5 spec even today. That said, I don't track gcc's development closely, so I may be wrong. Have you guys tried to build Sesame using gcj by the way? I think it'd be much quicker to just try and see. Kohei -- Kohei Yoshida - OpenOffice.org Engineer - Novell, Inc. <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]