Date: Mon, 07 Feb 2000 10:09:04 +0100 From: "Koster, K.J." <K.J.Koster@research.kpn.com> To: 'FreeBSD Java mailing list' <freebsd-java@freebsd.org> Subject: FW: Linux JDK Swing crashes... Message-ID: <59063B5B4D98D311BC0D0001FA7E4522013137F1@l04.research.kpn.com>
next in thread | raw e-mail | index | archive | help
>
> I have installed the Blackdown JDK on my machine at home
> (home-grown PC,
> FreeBSD 3.4 stable, XFree86 3.3.3.1), but any Swing app goes
> down with a
> scream. I have a feeling it is XFree86 related because it it
> complaining
> about something called a "Raster ShortInterleavedRaster".
>
> The error messages when I start the SwingSet demo:
> LikeEver% java -jar SwingSet.jar
> Error loading L&F: java.lang.IllegalArgumentException: Raster
> ShortInterleavedRaster: width = 64 height = 64 #numDataElements 1 is
> incompatible with ColorModel DirectColorModel: rmask=7c00
> gmask=3e0 bmask=1f
> amask=0
> Exception in thread "main" java.lang.NullPointerException
> at java.util.Hashtable.get(Hashtable.java,
>
To answer my own question: this problem is solved in RC4 of the blackdown
JDK. It now runs fine, happily chomping away at my memory. Perhaps C++ was
not such a bad idea after all. *duck*
As part of my learning experience: if the system tells you to use "brandelf"
to brand the Java 2 executable. you have to enable Linux emulation in
/etc/cr.conf. It seems FreeBSD's error messages are as cryptic as Java's
own. Correct, no doubt, but very cryptic. :-)
Kees Jan
==============================================
You are only young once,
but you can stay immature all your life
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59063B5B4D98D311BC0D0001FA7E4522013137F1>
