Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java.awt.Desktop compatibility

800449Mar 26 2007 — edited Mar 26 2007
Sorry for the cross-linking, but I've been on a mission lately. :o)

Dynamically loading a built-in class
PDF Viewer options

It started with trying to open a PDF viewer through java, and ended up (for now) using the java.awt.Desktop.open(File) class.

This is perhaps more of a Linux post than a java post, so perhaps this isn't the best forum for it, but I'm posting it here. :)

The java.awt.Desktop class is incompatible with KDE, documented here and here. There's a request for enhancement in place, but here's a work-around that worked for me (Kubuntu 5.04).
/**  FROM A LINUX CONSOLE  **/

    #> sudo apt-get install gdm
    #> sudo apt-get install nautilus
With the majority of the core Gnome packages installed in KDE, it seems to work! Woohoo!

-FBL
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 23 2007
Added on Mar 26 2007
0 comments
226 views