Create a registry file named Java7. It will contain the following:
Windows Registry Editor Version 5.00
"JAVA_TOOL_OPTIONS"="-Djava.vendor=\"Sun Microsystems Inc.\""
Script that I use to install Java 7 Update 25 x86. The script I use is called install.bat and is started by MDT 2010 Update 1
regedit /s Java7.reg
msiexec /i jre1.7.0_25.msi /quiet
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.