Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7181889

Desktop API not supported exception on 64-bit Ubuntu 12.04

XMLWordPrintable

    • x86
    • linux_ubuntu

      When you try to launch application that uses awt Desktop API on Ubuntu 12 64-bit, you get this exception:

      Exception in thread "main" java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform
      at java.awt.Desktop.getDesktop(Desktop.java:144)
      at DesktopTest.<init>(DesktopTest.java:14)
      at DesktopTest.main(DesktopTest.java:389)

      It happens only on 64-bit Ubuntu 12.04, works fine with previous Ubuntu versions.

      64-bit JDK was used.

            denis Denis Fokin (Inactive)
            vabetkin Vitalii Abetkin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: