Maximum size of deployment cache Java Web Start and Java Plug-in

The deployment.properties file is used for storing and retrieving deployment configuration properties in the Java Control Panel. They are also used for customizing runtime behavior for both Java Plug-in and Java Web Start.

There is always a User-Level deployment.properties file. Its location, which is non-configurable, is described below. There may also be an (optional) System-Level deployment.properties file. If it exists, its location is determined by a System Administrator through the deployment.config file as described below.

Deployment Configuration File (deployment.properties)

User Level

The User-Level deployment.properties file is located as follows:

Operating System
Location
Windows <User Application Data Folder>\Sun\Java\Deployment\deployment.properties
Unix ${user.home}/.java/deployment/deployment.properties

(${user.home} is typically home/<username>.)

To maximize the cache size for Java add the following line to the User-Level deployment.properties:

deployment.cache.max.size String “-1” Maximum size of deployment cache in MB. This is the cache size for each cache: Java Web Start and Java Plug-in.

“0”—Disables caching in Java Plug-in; cache size in Java Web Start will be unlimited.

“-1″—For unlimited cache size.

Posted in Microsoft and tagged , , .

Leave a Reply