This week's book giveaway is in the Artificial Intelligence and Machine Learning forum.
We're giving away four copies of Succeeding with AI and have Veljko Krunic on-line!
See this thread for details.
Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Creating Policy / applet

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to add pictures to an applet.
To do this, I'm trying to create a policy.
The path for the default policy file of a
user in Windows NT is:
Winnt\Profiles\<Username>\.java.policy
When I go to the dos prompt and type
Policytool, I get an error stating:
"Could not find policy file:c:\Documents and settings\<Username>\.java.policy
The computer is not letting me create such
a file manually. Any help?
Lupa
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this to the Applets forum...
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Pispa
Well, even if you get an error you mentioned when you run policytool do you get the GUI for the policytool? If yes then you can create policy in the UI and then do "save" or "save as" where you can give name .java.policy file at the location you want.
Also, what do you exactly mean when you say "it doesn't allow me to create such a file manually"?? If you know the format of the policy file and if you are trying to create such a file in UserHome directory it shouldn't raise any problems.
Regards
Maulin
 
    Bookmark Topic Watch Topic
  • New Topic