/build/static/layout/Breadcrumb_cap_w.png

deployment.config and deployment.properties

I have followed the instructions at http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/properties.html in regards to setting up deployment.config and deployment.properties files and I can't manage to get them to work. I've put the deployment.config file in C:\Windows\Sun\Java\Deployment and pointed it at the deployment.properties file in the exact same folder. When I look at the java control panel though, none of my settings are being applied from the deployment.properties file. This is on Win7 enterprise x86. Any suggestions would be appreciated.


2 Comments   [ + ] Show comments
  • My deployment.config file reads like the below, except I have mandatory=true in my settings. Inside the .properties file I have the following lines:

    deployment.expiration.check.enabled=false
    deployment.javaws.autodownload=NEVER
    deployment.javaws.shortcut=NEVER

    I don't actually care about the shortcut, but that gives me an easy place to check if the settings have been applied, however when I open the java control panel the shortcut is set to "prompt user if hinted" which is the program default. - tewebb 11 years ago
  • I have used this in the past because one of our java based apps required some special settings. So now our computers have deployment.system.config & deployment.properties in c:\windows\sun\java\deployment .

    That application no longer needs those. I was thinking I would delete those files but not sure it is would be a problem with install 8 u 25 - jfrasier 10 years ago

Answers (2)

Answer Summary:
Posted by: Trinity 10 years ago
Brown Belt
1
Per the oracle documentation for Java Config and Properties files the path for local files is.  I had the same problem until I read the documentation a bit closer.
file:///C:/Windows/Sun/Java/Deployment/deployment.properties

Posted by: SDNBTP 11 years ago
Third Degree Blue Belt
0

Try this for your deployment.config file...

deployment.system.config=file:C\:\\Windows\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory=false

If it's still not working, maybe there is an error in your .properties file. Can you post what's in there?

 

 


Comments:
  • I added comments above with the requested information. Any other suggestions would be appreciated. Thanks! - tewebb 11 years ago
 
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