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