I just created a java applet in eclipse to be used to read and update some text files. This applet will open certain text files for a jeopardy type game which holds the questions and allows you to change them. When I run the program in Eclipse it works perfect; however, when I try to view the applet in html it will not load. This is the error I get:

java.security.AccessControlException: access denied (java.io.FilePermission questions\DailyDouble\DailyDouble.txt read)


Now just from searchin around google it seems that it has something to do with signing the jar file containing the applet. I am not sure exactly how to do this and the few tutorials I have found did not make much sense to me.

I am not really too sure how to even create the jar file with an applet in eclipse as well. I have never really done any work with applets before this.

Does anyone know how I could fix this?