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

1 Comment   [ + ] Show Comment

Comments

  • Thanks for this tid-bit... I have been looking and asking folks why ...
    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.'

Please log in to comment

Answers

0
Answered 03/11/2013 by: SnowLyric
Second Degree Brown Belt

  • 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

    • It worked for me with Java 7 Update 17.

  • 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.

Please log in to comment
0

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.

Answered 05/29/2013 by: jproctor
Yellow Belt

Please log in to comment
0

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

 

Answered 03/11/2013 by: SnowLyric
Second Degree Brown Belt

  • 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.

  • 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?

    • Just a guess. Have you tried updating properties file at "%userprofile%AppData\LocalLow\Sun\Java\Deployment" as well?

  • When you use the deployment.system.config file and properties, the system properties are used rather than the user's

Please log in to comment
0

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.

Answered 05/29/2013 by: jproctor
Yellow Belt

  • 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.

    • 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

Please log in to comment
Answer this question or Comment on this question for clarity