> Unexpected exception encountered during query.
>
> BOOOOSH!
Christian wrote:
>> I wrote a java-application that uses mysql-connector-java-5.1.6-
>> bin.jar and does well as long as Java(TM) 2 Runtime Environment,
>> Standard Edition (build 1.5.0_15-b04) executes the bytecode. I tried
>> to gain some extra-speed by compiling native.
Given that Java Hotspot runs at approximately the same speed as natively
compiled code for the most part already, how much more speed could you
conceive of getting?
> You mean you want to lose some speed by using gcj ?
Oh, of course.
> GCJ only supports some of Java 1.4.2 (not 1.5) and have lots of bugs.
Their own website only claims that it
> ... supports most of the 1.4 libraries plus some 1.5 additions.
It supports "most" of the libraries and only "some" of the 1.5 "additions"
(whatever they mean by that). Apparently your JDBC driver library isn't among
"most" of the ones supported.
> So you get:
> - less features
[quoted text clipped - 3 lines]
>
> Easy choice !
It's funny how GCJ has not improved at all since I first heard of it some
seven or eight years back, it seems.

Signature
Lew
Silvio Bierman - 15 May 2008 09:38 GMT
> It's funny how GCJ has not improved at all since I first heard of it
> some seven or eight years back, it seems.
What is even more astonishing is that Linux distros ship it as the
default "Java" system.
Arne Vajhøj - 15 May 2008 22:51 GMT
>> It's funny how GCJ has not improved at all since I first heard of it
>> some seven or eight years back, it seems.
>
> What is even more astonishing is that Linux distros ship it as the
> default "Java" system.
That is historic determined. The original license for SUN Java did
not fit well with the Linux distros.
After SUN has has open source their Java, then I would expect
that to become increasingly used as default Java by Linux
distros.
Arne
Arne Vajhøj - 15 May 2008 22:53 GMT
>> You mean you want to lose some speed by using gcj ?
>> So you get:
[quoted text clipped - 7 lines]
> It's funny how GCJ has not improved at all since I first heard of it
> some seven or eight years back, it seems.
The compiler is easy, the JVM is doable but keeping up with the library
is very difficult. It is huge.
If you look at Mono then they have more or less the equivalent problem
with the same status.
Arne