Adding Desktop support to Gnome 3 based environments

On Gnome 3 based environments or KDE, the Java Desktop support doesn’t work. How it is an older Java feature, you need to install an old package, from Gnome 2 environment:

Restart your environment service to apply this new package. The service name will varies according to distribution, such as:

Now, resources like file) will work.