Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where is this file ~/.hotjava/properties  RSS feed

david mohr
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have found out that you can read a file with the appletviewer. But, I cannot find the ~/.hotjava/properties file anywhere.

Do I create this file??

Thanks for your help
David M

Sun's appletviewer allows applets to read files that are named on the access control list for reading. The access control list for reading is null by default, in the JDK. You can allow applets to read directories or files by naming them in the property in your ~/.hotjava/properties file.

Note: The "~" (tilde) symbol is used on UNIX systems to refer to your home directory. If you install a web browser on your F:\ drive on your PC, and create a top-level directory named .hotjava, then your properties file is found in F:\.hotjava\properties.
For example, to allow any files in the directory home/me to be read by applets loaded into the appletviewer, add this line to your ~/.hotjava/properties file.

You can specify one file to be read:

Use ":" to separate entries:

Allowing an applet to read a directory means that it can read all the files in that directory, including any files in any subdirectories that might be hanging off that directory.
[ June 17, 2005: Message edited by: david mohr ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!