Tray Icon Unsupported (Error on Linux)

Feedback
2008-10-26
2013-04-15
  • Zach Scrivena
    Zach Scrivena
    2008-10-26

    PROBLEM DESCRIPTION

    When GmailAssistant launches on Linux (e.g. Ubuntu), it fails because of an unexpected error --- java.lang.UnsupportedOperationException --- and the exception stack trace begins with java.awt.TrayIcon.

    EVALUATION

    The error occurs because the JRE is unable to support tray icons for the desktop or window manager that is running on system.

    REMEDIES

    Make sure that you are running the latest JRE from Sun Microsystems for your system. Tray icons are reported to work in Ubuntu + Compiz with JRE 1.6.0_10-beta.

    Ensure that the tray area is visible on the desktop.

    Turn off advanced desktop effects (e.g. Compiz).

    OTHER RESOURCES

    Java SE Downloads
    http://java.sun.com/javase/downloads/index.jsp

    "Tray icon support in Java broken when using compiz" on Ubuntu Forums
    http://ubuntuforums.org/showthread.php?t=789391

    "XToolkit.isTraySupported() result has nothing to do with the system tray" on Java Bug Database
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6438179