Deploy Java

Software Java
Install Silently msiexec /i “Java.msi”

/passive
/norestart
/l “C:\(path)\Java.log”
AUTOUPDATECHECK=0
JAVAUPDATE=0
JU=0

Deployment Guide
STEPS #1 Download the offline installer of the version that you want and bits (x86,x64).
#2 Extract the MSI-file from the installer with a trick: Run the installer but do not proceed with the dialogues. Instead in a Windows 7 OS naviate to to find the MSI-files already extracted by the installer:
%UserProfile%\AppData\LocalLow\Sun\Java
#3 Create basic corporate customization to your installation with MST or as PARAMETERS
AUTOUPDATECHECK=0 (Disables update check during installation).
JAVAUPDATE=0. (Disables automatic updates).
JU=0 (Disable another Update-related value)
WEB_JAVA=0 (if you DO NOT WANT web browser plugins, else set to WEB_JAVA=1)
#4 Always make sure that you REMOVE the OLD VERSION of Java before installing NEW
#5 New Java (1.7.0.40) Creates shortcuts to START MENU, deal with them.
#6 Old Java version do not like /passive MSI-switch, might error with (1602) as if user cancelled beacause of a pop up
Customize Java Deployment
PROBLEM You are deploying Java in a corporate environment, and want a deeper customize how the result will look like.
SOLUTION Distribute deployment.config before you launch Java installation
C:\Windows\Sun\Java\Deployment\deployment.config
deployment.system.config=c:\Windows\Sun\Java\Deployment\deployment.properties
deployment.system.config.mandatory=true

Distribute deployment.properties before you launch Java installation
C:\Windows\Sun\Java\Deployment\deployment.properties
#System Deployment Properties
#Wed Aug 21 09:19:51 EEST 2013
deployment.version=7.0
deployment.security.level=LOW
deployment.security.level.locked=
deployment.security.mixcode=DISABLE
deployment.insecure.jres=ALWAYS
deployment.javaws.autodownload=NEVER
deployment.webjava.enabled=true
deployment.webjava.enabled.locked=

Case: Disable “Your Java version is insecure” / “Update Java”
PROBLEM The dreaded “Your Java version is insecure” popup that terrified system administrators across the world during Java versions 1.7.0 – 1.7.44.
SOLUTION Notice: There is no true workaround for this problem. You can only suppress it as long as there was no more new version available. You would either have to:

A) Deploy the Java to the newest version instantly
OR
B) Deploy a configuration file to fool the Java to be the newest version.

Since Java version 1.7.0.45 you can configure this as a basic customization.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\AppDataLow\
Software\JavaSoft\DeploymentProperties]

"deployment.expiration.decision.10.17.2"="later"
"deployment.security.level"="LOW"
"deployment.insecure.jres"="ALWAYS"
"deployment.expiration.decision.timestamp.10.17.2"="9/6/2013 15:25:6"
"deployment.javaws.autodownload"="NEVER"
"deployment.version"="7.0"
"deployment.security.mixcode"="DISABLE"
"deployment.modified.timestamp"="1378470307603"
"deployment.expired.version"="10.17.2"
"deployment.expiration.decision.suppression.10.17.2"="true"
REFERENCE http://sccmentor.wordpress.com/2013/09/20/java-update-needed-your-java-version-is-insecure/

Leave a Reply

Your email address will not be published. Required fields are marked *


− four = two

Post Navigation