Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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.(MFramePeer.java:59) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:153) at java.awt.Frame.addNotify(Frame.java) at java.awt.Window.pack(Window.java) A. There’s a missing font on your system. Move font.properties from the “lib” subdirectory aside to font.properties.bak Then it won’t look for the font and fail to find it. Once this fix is in place, MI/X works well with Java clients running on Sun and SGI.

0

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.

0

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.(MFramePeer.java:59) at sun.awt.motif.MToolkit.createFrame(MToolkit.java:153) at java.awt.Frame.addNotify(Frame.java) at java.awt.Window.pack(Window.java) A. There’s a missing font on your system. Move font.properties from the “lib” subdirectory aside to font.properties.bak Then it won’t look for the font and fail to find it. Once this fix is in place, MI/X works well with Java clients running on Sun and SGI. Note that MI/X has a few fallbacks of its own so that it will be able to handle many problems of this type automatically. For exa

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.