String(strBytes, "UTF-16LE"); thorws java.io.UnsupportedEncodingException
Andrew Haley
aph@redhat.com
Sun Apr 17 12:54:00 GMT 2005
Andreas Grunewald writes:
> 2005年4月17日, Andrew Haley <aph@redhat.com>:
> > Andreas Grunewald writes:
> > > Ok once again a new something that I detected.
> >
> > It's a problem with static linking.
> But the GCJ 4.0 for windows only supports static linking.
Right, and that is why it doesn't work. In general, the Java API
doesn't work with static linking, because classes are referred to by
name and looked up at runtime. The way you can fix this is to
determine which classes are needed by your application and link them
into your executable.
Andrew.
More information about the Java
mailing list