Hi,

I definitely can't get JDK 1.2 to run GUI apps here.  Console runs fine, but
anything with AWT dies at startup if I use the JIT.

I then tried to use the interpreter, and this is the typical output:

[root@r219 MoleculeViewer]# appletviewer -J-Djava.compiler= example1.html
java.lang.IllegalArgumentException: Raster ShortInterleavedRaster: width =
300 height = 300 #numDataElements 1 is incompatible with ColorModel
DirectColorModel: rmask=7c00 gmask=3e0 bmask=1f amask=0
        at java.awt.image.BufferedImage.<init>(BufferedImage.java:521)
        at sun.awt.image.OffScreenImage.<init>(OffScreenImage.java:70)
        at sun.awt.motif.MComponentPeer.createImage(MComponentPeer.java:286)
        at java.awt.Component.createImage(Component.java:2079)
        at XYZApp.newBackBuffer(XYZApp.java:283)
        at XYZApp.init(XYZApp.java:300)
        at sun.applet.AppletPanel.run(AppletPanel.java:357)
        at java.lang.Thread.run(Thread.java:479)

It seems the AWT is having trouble with TrueColor X11...

I am using:
    - RH52
    - ln -fs libstdc++.so.2.8.0 libstdc++-libc6.0-1.so.2
    - XFree86 3.3.3.1-1
    - Diamond Viper330 (NVidia), 4Mb, SGVA server
    - glibc-2.1.0.990222
    - GNOME 1.0.3 and Enlightenment, all from very latest GNOME RPMs
    - egcs-1.1.2-11 (rpm)
    - kernel 2.2.4, built against the stuff above :)
    - anything other detail, just ask me

A+
Osvaldo


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to