Note: The information on this page is for the Content Viewers
feature, which is not available on all platforms. If the
hotjava-install-directory\runtime\lib\content-types.properties
Change the temp.file.template property near the top of the file to use an alternative directory for the temporary files.
Note: You should not edit the content-types.properties file other than to change the value of the temp.file.template property. Also, note that the "\" character is the escape character in this file. Therefore, to specify "\" in a directory name for Windows systems, you'll need to type "\\".
&browser.name; never deletes the temporary files created by content handlers.
By default, &browser.name; does not delete these temporary files. This is because some applications, especially on Solaris systems, spawn other applications that try to access them. If &browser.name; deletes the temporary file after the application it creates is finished, and that application has started another application, the child application may attempt to read the temporary file after it has been deleted.
If you know that the applications you launch do not create child applications, you can safely change &browser.name; to delete the temporary files it creates. To do so, add the following property to your properties file (described below):
viewerunknown.delete.tmpfile=trueOn Windows systems, the properties file is in your home directory if the environment variable HOME, HOMEDRIVE, or HOMEPATH is set. Otherwise it is:
hotjava-install-directory\.hotjava\propertiesAdd the viewerunkown.delete.tmpfile=true property to this file. Note that you need to quit &browser.name; before editing this file, or else your edits will be lost when you later quit the current browser session.
On Solaris systems, your properties file is:
$HOME/.hotjava/propertiesAdd the viewerunkown.delete.tmpfile=true property to this file. Note that you need to quit &browser.name; before editing this file, or else your edits will be lost when you later quit the current browser session.
Table of Contents | INDEX |
Copyright © Sun Microsystems, Inc.