• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java. security. AccessControlException

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am trying to get an application launched in WebStart but I am getting this error:
Java Web Start 1.2 Console, started Wed Jun 11 16:09:14 PDT 2003
Java 2 Runtime Environment: Version 1.4.1_02 by Sun Microsystems Inc.
java. security. AccessControlException: access denied (java.io.FilePermission config read)
My application does need to access the file system and has java.io.* import statements.
I think I am going to need to sign my application jar? Is that correct?
If so is this a big deal - I've looked at the JWS user's document but it does not seem to be up to date with 1.4 stuff.
Am I correct in my assumption about signing? And if so is there a good resource to let me know how to do this with Java 1.4
Many Thanks
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi
yes. u r correct that u will need to sign the application but u don't have to do a whole lot. signing procedure doesn't really differ from JVM to JVM ...
so u always use either keytool to generate keys and then jarsigner OR u go to Verisign to get the application signed by the certificate..
anybody else? please correct me if i sound wrong..
regards
maulin
 
Curse your sudden but inevitable betrayal! And this tiny ad too!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic