macOS xdg-desktop-icon
Laurent Bourgès
bourges.laurent at gmail.com
Thu Oct 25 08:43:10 UTC 2018
Hi Jim,
With Oracle inexplicably ditching javaws in Java 11, and ending public
> updates of Java 8 in January, end users are desperately looking for a
> replacement…and IcedTea-Web is really the only viable option. In my testing
> here, it basically works; it reliably launches our customers’ existing
> JNLPs, giving them a path forward. But now that we’ve established that it
> basically works, our customer testers are focused on fine-grained
> deployment details, and they care a lot about those desktop icons.
>
Thanks for your feedback
> I spent days trying to build
> <https://icedtea.classpath.org/wiki/IcedTea-Web#Building_IcedTea-Web> IcedTea-Web
> in macOS, but I had to eventually give up; I couldn’t get past the errors.
> I’ve been doing Windows & Mac testing with a build that Laurent Bourgès
> kindly provided
> <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2018-September/040118.html> to
> me.
>
I can publish nightly itw builds either on my own server or on a github
mirror.
Since I have no ability to edit and build IcedTea-Web, I had to take a
> different approach; I put together the attached Mac-specific dropin
> replacement for the xdg-desktop-icon script, which works reasonably well in
> my testing here; it parses the .desktop file and generates a minimal macOS
> AppBundle corresponding to the JNLP parameters. I hope someone will find it
> useful, or even use it as the basis for integrating macOS desktop
> integration directly into IcedTea-Web.
>
Excellent, I will try your script when I will have some spare time...
> Now I’m back to the Windows 10 system, which is also not creating the
> desktop icon. First, I always get this flood of permissions errors
> launching any JNLP; I have no idea what this is trying to tell me:
>
> Removing execute permissions on file
> C:\Users\Jim\.cache\icedtea-web\cache\4369\http\10.0.1.5\8888\basis\10.0.1.5-launchdock-launch.jar.info.temp
> failed
>
I would like you trying latest 1.7 release, to see if that problem is
already fixed.
at
> java.desktop/net.sourceforge.jnlp.util.FileUtils.createRestrictedFile(FileUtils.java:238)
> at
> java.desktop/net.sourceforge.jnlp.util.FileUtils.createRestrictedFile(FileUtils.java:164)
> at
> java.desktop/net.sourceforge.jnlp.util.XDesktopEntry.installDesktopLauncher(XDesktopEntry.java:361)
> 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)
>
> Do we expect IcedTea-Web to be creating desktop icons on Windows? Is there
> anything I can do to get it working?
>
I think desktop icons only works currently on linux...
Coming soon ?
Any volunteer ?
Cheers,
Laurent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20181025/11a57c7b/attachment.html>
More information about the distro-pkg-dev
mailing list