JDK-8030100 : java.awt.Desktop: Enable check for supported URI schemes on Linux
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2013-12-13
  • Updated: 2014-07-29
  • Resolved: 2014-04-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
8u20Fixed 9 b12Fixed
Related Reports
Duplicate :  
Relates :  
gtk_show_uri() documentation[1] says:
> The uri must be of a form understood by GIO (i.e. you need to install
> gvfs to get support for uri schemes such as http:// or ftp://, as only
> local files are handled by GIO itself). 

We should check for gvfs availability on Linux too and update supported actions correspondingly.

For more information see JDK-8029263

We should also investigate what specific libraries/software modules need to be installed on Solaris systems in order to enable browsing URIs. This information should be added back to JDK-8029263.
mailto issue is a wrong system configuration: $gconftool-2 --get /desktop/gnome/url-handlers/mailto/command evolution %s This can be fixed by gconftool-2 --type string --set /desktop/gnome/url-handlers/mailto/command 'kmail %s' or with configuration editor via GUI (replace kmail with existing mail client). So I consider this as not a java issue.

Old approach with gnome_url_show (was replaced by gtk_show_uri) doesn't work for email links too: Error code: 1 msg: There was an error launching the default action command associated with this location.

This test fails when we trying to open http and other types of URIs with 32-bit JDK on 64-bit Linux. Looks like we should apply same fix as for Solaris. However with 64-bit JDK it still fails with mailto:someone@example.com (JDK-7186224). If you try to open with attached program from JDK-8029263 or with following command in terminal LANG=C gnome-open mailto:someone@example.com it will return Error code: 8 msg: Failed to execute child process "evolution" (No such file or directory) So it looks like a system settings for default mail client are incorrect or it is a gnome bug.

On what system this issue is reproducible? Is there any VNC available machines where I can reproduce it?

The issue causes the following JCK test failure api/java_awt/interactive/Desktop/BROWSEInteractiveTests.html#DesktopBrowseTests Please see JDK-8029263 for more information.

The issue is being reproduced on Suse 11, aikido.ru It reserved to 9 pm, so you can use the host.