Java Runtime 1.5.0_04 Temporary file location


I am repackaging Oracle 9.2 and have stripped out the Java runtime stuff which we are deploying seperately.

Does anyone know if you can change the temporary file settings location and amount of space to use from within the msi. This information is normally accessed after the application is installed via Control Panel - Java - General - Temporary Internet Files

I have chked out the Package database which has sorted out most of the questions I had. The reason I want to edit these settings is the location defualts to the user profile and is set to be an unlimited amount. This may cause problems with roaming user profiles if the folder gets too large.

Any advice welcome...Cheers Nik[8|]

0 Comments   [ + ] Show comments

Answers (4)

Posted by: MSIPackager 15 years ago
3rd Degree Black Belt
Hey mate,

I repackaged 1.5.0_01 backalong and was concerned about the roaming profile thing so I set the cache location to C:\Windows\Temp in the deployment.properties file:


Haven't had any problems with it.. You used to be able to limit the cache size in older versions of the Sun JRE but I don't think you can in v1.5.0

You can test your package etc here.

Hope it helps,
Posted by: Ilikebananas 15 years ago
Purple Belt

The setting for the cache is deployment.cache.max.size=10m (to set it to 10MB). It is located in the same file.

Posted by: Nikolas 15 years ago
Senior Yellow Belt
Thanks heaps for the advice its much appreciated. Haven't had a chance to sort it today so will chk it out tommorrow.[;)]
Posted by: Nikolas 15 years ago
Senior Yellow Belt
Finally got a chance to test the theory out. The msi is vendor supplied and the deployment.properties file is written to the user profile by something other than the file table. So modifying it could prove to be a hassle.

Talked to the admin people and we are not currently roaming %USERPROFILE%Application Data\*.* so I have decided to leave it at the defualt settings for now.

Thanks again...Nik
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ