• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

"Do you want to run this application ?" asked when a param is changed

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

If a param value in the JNLP file is changed, it asks on each start "Do you want to run this application ?".
Even if "Do not show this again for this app from the publisher above" is checked, it asks this each time.

I read Signing JNLP file with dynamic arguments and JDK-8199731 "Checkbox "do not show this again for apps from the publisher and location above" not working" but can not make it to work.

It seems the jnlp.secure.argument thing only works for changes in <argument> elements, but not in <param> elements that are used for <applet-desc>.

So, does anyone know how to pass a dynamic parameter to an applet started by JNLP file, without asking the user each time for approval?

I should work on Java 8u171 (or later).

Regards,
David
 
David Balažic
Ranch Hand
Posts: 98
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Found it.

For applets, this syntax must be used:
 
Bartender
Posts: 3323
86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you for posting the solution
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic