macOS xdg-desktop-icon

Jim Douglas jimdouglas at mac.com
Mon Oct 15 17:51:13 UTC 2018


Is anyone else testing Icedtea-Web on macOS? In my testing, it doesn’t install a desktop icon because it apparently assumes that the Linux-centric xdg-desktop-icon utility is installed, but that utility does not seem to work with macOS.

https://www.freedesktop.org/wiki/Software/xdg-utils/

> On Sep 11, 2018, at 2:08 PM, Jim Douglas <jimdouglas at mac.com> wrote:
> 
> This doesn’t seem to be fatal, but it probably shouldn’t assume that xdg-desktop-icon exists in macOS:
> 
> You are trying to get resource http://localhost:8888/favicon.ico <http://localhost:8888/favicon.ico> but it is not in cache and could not be downloaded. Attempting to continue, but you may expect failure
> java.io.IOException: Cannot run program "xdg-desktop-icon": error=2, No such file or directory
> 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1128)
> 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1071)
> 	at java.desktop/net.sourceforge.jnlp.util.XDesktopEntry.installDesktopLauncher(XDesktopEntry.java:385)
> 	at java.desktop/net.sourceforge.jnlp.util.XDesktopEntry.createDesktopShortcuts(XDesktopEntry.java:315)
> 	at java.desktop/net.sourceforge.jnlp.runtime.ApplicationInstance.addMenuAndDesktopEntries(ApplicationInstance.java:189)
> 	at java.desktop/net.sourceforge.jnlp.runtime.ApplicationInstance.initialize(ApplicationInstance.java:145)
> 	at java.desktop/net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:530)
> 	at java.desktop/net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:943)
> Caused by: java.io.IOException: error=2, No such file or directory
> 	at java.base/java.lang.ProcessImpl.forkAndExec(Native Method)
> 	at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:339)
> 	at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:270)
> 	at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1107)
> 	... 7 more
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20181015/ae7a41f3/attachment.html>


More information about the distro-pkg-dev mailing list