Not supported platforms for java.awt.Desktop.getDesktop()

后端 未结 6 1059
栀梦
栀梦 2020-12-16 12:00

Since Java 6 there is a class java.awt.Desktop. There are some nice methods but the class is not supported on all platforms. The methods java.awt.Desktop.getDes

6条回答
  •  一个人的身影
    2020-12-16 12:38

    Does not work in the current Debian (squeeze) whether in gnome or fvwm. I did not try kde.

    This bug prevents the latest version of limewire to start. The stack output is:

    FATAL ERROR!

    java.lang.ExceptionInInitializerError at com.limegroup.gnutella.gui.Initializer$6.run(Unknown Source)

    .......

    Caused by: java.lang.UnsupportedOperationException: The system tray is not supported on the current platform. at java.awt.SystemTray.getSystemTray(SystemTray.java:151)

提交回复
热议问题