I am writing a java application and I want to open a link from my program in user\'s default internet browser. I tried to use class Desktop like this :
if (D
From this article
Use the Desktop.isDesktopSupported() method to determine whether the Desktop API is available. On the Solaris Operating System and the Linux platform, this API is dependent on Gnome libraries. If those libraries are unavailable, this method will return false. After determining that the API is supported, that is, the isDesktopSupported() returns true, the application can retrieve a Desktop instance using the static method getDesktop().
Try running your code on Gnome desktop.