Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

permission to open browser

 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run my Swing App locally, it can open a browser window and navigate to a URL.

When I use webstart to distribute my app, it lacks permission to open a browser window. How can I give it permission to do this?

Thanks a bunch.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, according to the documentation you need to have:



in the JNLP file as well as having all your JAR files signed.
[ August 16, 2005: Message edited by: Gregg Bolinger ]
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks! I should have read that better.
I was having trouble sorting out what the steps were between ant, jnlp, and signing jars. I got it working.

a few notes:

to sign a jar with a fake certificate, these are the ANT commands I used:


dname is expecting a name/value pair and must be in the format dname="XX=abcdefghig"
otherwise, you will get an AVA format error
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic