Java programs on SGI, Sun, and DEC machines crash when trying to use MI/X as their X server. Is there a way to correct this?
The problem occurs because the Motif AWT libraries use the Font “plain Dialog 12 point” as a fall-back default font. Unfortunately, when using a remote X server sometimes this font isn’t available. The problem is common enough to be included in the Java Programmer’s FAQ (http://www.faqs.org/faqs/computer-lang/java/programmers/faq/): 4.2 Why do I get this when using JDK 1.1 under X Windows? java.lang.NullPointerException at sun.awt.motif.MFramePeer.
The problem occurs because the Motif AWT libraries use the Font “plain Dialog 12 point” as a fall-back default font. Unfortunately, when using a remote X server sometimes this font isn’t available. The problem is common enough to be included in the Java Programmer’s FAQ (http://www.faqs.org/faqs/computer-lang/java/programmers/faq/): 4.2 Why do I get this when using JDK 1.1 under X Windows? java.lang.NullPointerException at sun.awt.motif.MFramePeer.
Related Questions
- Can all types of devices (Sun, USB, AIX, SGI, RS6000, HP9000, DEC, MAC, chained IBM 330 servers, serial/TTY, etc) connect directly to a KVM switch?
- Java programs on SGI, Sun, and DEC machines crash when trying to use MI/X as their X server. Is there a way to correct this?
- How to use Java in the Sun Sparc5 machines?