Alex Rivera | Logout

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

Asked 2008-09-19T14:34:48.933
20

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.getDesktop() throws an

java.lang.UnsupportedOperationException: Desktop API is not supported on the current platform

on some platforms. Or the method java.awt.Desktop.isDesktopSupported() return false.

I know that it work on Windows XP, Windows 2003 and also Windows Vista. The question is on which platform is it not supported?

Edit
Report

1 Answer

3

Works on OS X, too.

answered 2010-11-18T16:08:01.467

Your Answer