Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

AccessControlException

 
Koh Khai Huat
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys

i need suggestion on what i can do to slove this problem. My porblem is that when i wan to try and write a string in to a txt file the program always prompt me this error "java.security.AccessControlException access denied (java.io.FilePermission puzzleTesting.txt write)"

Thanks in advance all suggestion and advice are welcome.

regards
KKH
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Applets are not allowed to access the local file system - they need to be especially enabled to do so. You can find all the details here.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!