javaws in snv_71 is apparently left-handed.
The following issue described on the Nevada users group also describes my symptoms perfectly. It is 100% reproducible,
Since upgrading from snv_69 to snv_71 I can no longer display SunTea or Bugster on my right hand monitor (I'm not using Xinerama). Starting bugster generates the following stack:
flange> bugster
flange> Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at java.awt.Toolkit$2.run(Toolkit.java:821)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
at com.sun.javaws.Main.main(Main.java:76)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:178)
at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:93)
... 6 more
Running javaws -viewer generates a similar stack.
I have no problem displaying these two apps on my left hand monitor.
flange> java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Server VM (build 1.6.0_01-b06, mixed mode
I've tried using the previous version of Java and I get the same result.
My system is a twin Opteron box with two SUN GDM-5410 monitors. Running scanpci tells me I have the following graphics card:
pci bus 0x0003 cardnum 0x03 function 0x00: vendor 0x10de device 0x032a
nVidia Corporation NV34GL [Quadro NVS 280 PCI]
this bug also seems to affect other applications like vncviewer in snv_74.
I have the same problem on a dual-head x86 system. The bug is always reproducible.
I don't use Cinerama, just 2 heads with two screens.
The stack trace:
$ javaws https://bugster.sfbay.sun.com/bugster.jnlp
543 aldan:/usr/lib$ Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at java.awt.Toolkit$2.run(Toolkit.java:836)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:828)
at com.sun.javaws.Main.main(Main.java:96)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at sun.awt.X11GraphicsEnvironment.getDefaultScreenDevice(X11GraphicsEnvironment.java:218)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:93)
... 6 more