/build/static/layout/Breadcrumb_cap_w.png

Java8 Overwrites Deployment.properties file (java 8 update 121)

Hi

Anyone experienced the deployment.properties file getting overwitten in C:\windows\sun\java\deployment folder?

Ive created as usual with .properties file and .config file in folder above

However it gets overwritten at end of install, rather annoying

I can modify location but would rather not.

Version 8u121 x86 and x64
Windows10

Thanks

0 Comments   [ + ] Show comments

Answers (2)

Answer Summary:
Posted by: vscamp 3 years ago
White Belt
1

Top Answer

Yes Thanks, I have done that also in past but was using this method as an all-in one method 

Anyway I have now resolved the issue, bit quirky

It seems from my testing that if you set the Property : WEB_JAVA_SECURITY_LEVEL=H in the mst then the install in the post install section decides its going to write a deployment.properties file

Taking out the property and the deployment.properties file doesnt get created by the install 

I'm meaning to check this out more thoroughly when i get a mo but hopefully will help anyone who has this issue


Posted by: Desktop Jockey 3 years ago
Second Degree Green Belt
0
I always have zipped up the contents of the C:\windows\sun\java\deployment folder with my upgrade packages and copied it over after the install finishes. Hope this helps...

If you are just using a batch:

If not exist "C:\Windows\Sun\Java\Deployment\" Mkdir "C:\Windows\Sun\Java\Deployment\"
If not exist "C:\Windows\Sun\Java\Deployment\exception.sites" xcopy "exception.sites" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "deployment.config" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "deployment.properties" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "DeploymentRuleSet.jar" "C:\Windows\Sun\Java\Deployment\" /y /r
xcopy "trusted.certs" "C:\Windows\Sun\Java\Deployment\" /y /r

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
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