[Bug 3583] When creating Desktop Short Cuts for JNLP files, javaws links to path specified by Firefox (temporary)

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Mon May 14 15:15:11 UTC 2018


https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3583

--- Comment #6 from Robert Marcano <robert at marcanoonline.com> ---
(In reply to JiriVanek from comment #5)
> (In reply to Robert Marcano from comment #4)
> > I think probably a good behaviour for javaws is to not offer to create
> > desktop launchers for JNLP files that don't include a way to get the source
> > path, or copy it a .local/.cache directory.
> 
> How to determine this? You may have local installation of some JNLP
> application, so you can run  javaws /some/path/to/file.jnlp or  javaws
> file:///some//path/to/file.jnlp 
> 
> We can catch vartious /tmp or $TEMP but more hardly firefox special  cache.
> also I have no idea how to make it windows portable...
> 

There is no special Firefox cache for downloaded files, Firefox download the
file to $TEMP (or java.io.tmpdir property from Java) and run javaws from there,
so only $TEMP is needed.

Note: take into account that there is precedence of doing something special
with downloaded files on $TEMP, for example, LibreOffice tell the user the file
is read only, so the user save the file in another path, this avoid the user to
save the file and think they are saving the original file on the Web.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180514/25a316ae/attachment.html>


More information about the distro-pkg-dev mailing list