Wednesday, May 22, 2013

Java 7 update 21 (1.7.0_21) Enterprise Repackaged Security Medium Deployment with SCCM

-------------------------------------------------------------------------------------------------
Java 7 update 45 Enterprise deployment complete walk through
http://www.syswow64.co.uk/2013/10/java-7-update-45-enterprise-deployment.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.


Solution

1 Create the following directory path 'C:\Windows\sun\java\deployment'
2 Create a file called 'deployment.config' in this directory and open with Notepad.
Copy the two line below

####################
deployment.system.config = file\:\\C\:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
deployment.system.config.mandatory = true
####################

3 Create a file called 'deployment.properties' in this directory and open with Notepad.
Copy the four line below (# deployment.security.level.locked optional)

######################
deployment.security.level=MEDIUM
deployment.browser.path=C:\Program Files\Internet Explorer\IEXPLORE.EXE
deployment.version=7.21
#deployment.security.level.locked
###########################
(without path and version, level will be ignored)

4 Delete C:\Users\%Username%\AppData\LocalLow\Sun

5 Delete: HKEY_CURRENT_USER\Software\AppDataLow\Software\JavaSoft\DeploymentProperties

6 Open Java from Control Panel.  You will find the security is now set to MEDIUM. If the lock was imposed, the user will not be able to adjust this setting as it will be greyed out.

7 comments:

  1. Jonathan,

    Thanks for this solution. It work on Win7x86 with Java 1.7 update 21 (32 bit) but the deployment.security.level=MEDIUM setting won't take effect on Win7x64 with Java 1.7 update 21 (32bit). Is there any update?

    Thanks,
    Reza Prawirasatya

    ReplyDelete
    Replies
    1. http://www.syswow64.co.uk/2013/10/java-7-update-45-enterprise-deployment.html
      Review my latest post as the deployment security can be handled in an MST file.

      Property: WEB_JAVA_SECURITY_LEVEL
      Value: H

      Delete
    2. The default setting is H so setting it is meaningless. Try using M on 7u21 and let me know if it works or if you can get system level deployment to work. Unfortunately I have to work with this version.

      Delete
  2. This comment has been removed by a blog administrator.

    ReplyDelete
  3. This comment has been removed by a blog administrator.

    ReplyDelete
  4. 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.
    Investment research outsourcing

    ReplyDelete
  5. I have read your blog its very attractive and impressive. I like it your blog.

    Java Training in Chennai Core Java Training in Chennai Core Java Training in Chennai

    Java Online Training Java Online Training JavaEE Training in Chennai Java EE Training in Chennai

    ReplyDelete