Deployment.config and deployment.properties for Java 1.7.11
In version 1.6.xx I had a deployment.config file that had this line:
deployment.system.config=file:///\\\someserver\\softwareinstalljf\\java\deployment.properties
All of the configurations that I wanted to set were in that deployment.properties file.
Now I am trying to do the same thing with version 7 and it doesn't seem to set the properties in the Control panel.
If I use the path below in the addressbar in IE I do get the file but in the CP those settings are unchanged.
deployment.system.config=file://\\jcpladdc01\softwareinstalljf\Java\deployment.properties
I also see that there is a deployment.properties in c:\docs & settings\username\Application data\sun\java deployment that changes if I make a change in the Control Panel so the deployment.config file is being ignored.
Does anyone have an ideas?
Thanks.
Jane
Answers (5)
Yours was:
deployment.system.config=file:///\\\someserver\\softwareinstalljf\\java\deployment.properties
When it really should have been:
deployment.system.config=file:///\\someserver\\softwareinstalljf\\java\\deployment.properties
System level settings would help to configure desired values.
http://docs.oracle.com/javase/7/docs/technotes/guides/deployment/deployment-guide/properties.html
Comments:
-
This is the article that I read to learn how to do it and it worked great for Java 1 update 6. At the top of this document it says "Note: This Java deployment guide describes features released prior to the Java SE 6 update 10 release"
This doesn't work in Java 1 update 7 - jfrasier 11 years ago-
It worked for me with Java 7 Update 17. - SnowLyric 11 years ago
-
What I want to do, which worked in Java 1 update 6x was put the properties file on a network share so that it could be changed for all computers if needed. - jfrasier 11 years ago
http://www.syswow64.co.uk/2013/05/java-7-update-21-1721-enterprise.html
The issue on many blogs and articles is around creating the 'deployment.config' and 'deployment.properties' files for an enterprise deployment. In my case i wanted to set the security level to 'Medium', but everytime I open the Java control panel it was set to the default HIGH setting.
Deployment.config file stored in c:\windows\sun\java\deployment
deployment.system.cachedir = C\:\\WINDOWS\\Sun\\Java\\Cache\\
deployment.system.config = file:\\C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory = true
Deployment.Properties file stored at same location
Comments:
-
What I want to do, which worked in Java 1 update 6x was put the properties file on a network share so that it could be changed for all computers if needed. - jfrasier 11 years ago
-
OK. I have given up on trying to put the properties file on a network share. BUT I still have a problem. For the application that is used here most, we want the console to show at startup. I put the statement 'deployment.console.startup.mode=SHOW' in the properties file. When looking at the Java control panel it appears that way, but in reality, when our application is started, the console is not opened.
Any thoughts on that? - jfrasier 11 years ago-
Just a guess. Have you tried updating properties file at "%userprofile%AppData\LocalLow\Sun\Java\Deployment" as well? - SnowLyric 11 years ago
-
When you use the deployment.system.config file and properties, the system properties are used rather than the user's - jfrasier 11 years ago
http://www.syswow64.co.uk/2013/05/java-7-update-21-1721-enterprise.html
The issue on many blogs and articles is around creating the 'deployment.config' and 'deployment.properties' files for an enterprise deployment. In my case i wanted to set the security level to 'Medium', but everytime I open the Java control panel it was set to the default HIGH setting.
Comments:
-
I already created Deployment.config and deployment.properties and how do I execute this via SCCM? I've been searching for a valid answer but I couldn't find it. I'm totally lost with Java 1.7. Thanks. - rezachin 11 years ago
-
I have been working with SCCM to deploy java using msi packets and had to make the same security changes. Not using SCCM but another program "Appsense" i created a power shell script to write the files into existence.
my script is as follows, may not be perfect but its a step forward. I would guess you can package a powershell script into SCCM
PS cd c:\windows\sun\java\deployment
write-output "deployment.security.level=MEDIUM" | echo > deployment.properties
write-output "deployment.system.config.mandatory=false" | echo > deployment.config
"deployment.system.config=file:///C:/Windows/Sun/Java/Deployment" | echo >> deployment.config - sorocotech 10 years ago-
Create an MST file containing the Deployment.config and properties. http://www.syswow64.co.uk/2013/10/java-7-update-45-enterprise-deployment.html - jproctor 10 years ago
This process fails when either the /qn switch is used and you reinstall the same version or when Java is currently being used in Internet Explorer. Both scenarios result in a successful exit code however, the installation has failed and cannot be reinstalled silently, or Loud without a error pop up referring to a missing 'installer.dll.' - J.M. 10 years ago