Sign up today to participate, stay informed, earn points and establish a reputation for yourself!Sign up! or login
Support for a silent install option by using the /silent flag was added with the release of version 1.0.1
Previous to the version 2.2 release, J2SE (Java 2 Standard Edition) would not run on Pentium 4 Windows systems. This effected installation of any applications that required such as the Oracle Client.
J2RE 1.4.2 is now a Windows Installer MSI in a self extracting EXE. If you run the EXE (e.g. j2re-1_4_2-windows-i586.exe) with a /a switch you can specify the location you want to expand the MSI and it's associated files to. Thanks. DB.
When you want to change the location of the plugin configuration (jar) files, you can do this by changing it in the control panel on the cache tab or by adding a User Environment Variable "USER_JPI_PROFILE". This sets a directory (e.g. USER_JPI_PROFILE=C:\Temp\JAVA) The cache location will be created under this directory.
I found that in our domain, setting the EULA to 1 would not allow java to run on Firefox, or on IE once we updated to IE7. Strangely it would work with IE6. When EULA was set to 1 using filemon, I discovered java would look for EULA.dll, which was not there. When I set EULA to 0 and re-installed java on the domain PC's applets would load in Firefox and IE7.
In JRE 1.5.0 update 10 I also experienced the same issues with EULA as superpenut mentions. If you set EULA=1 you will get gray boxes where java is usually running. This happens in both IE6 and IE7. The remedy is to leave EULA=0
If you make a transform, you can add your own custom action in the "Execute Deferred" section. Place it just before "Install Finalize". Have the custom action execute the VB script posted above by Turbokitty. Since that will be the very last thing the MSI executes the reg key will stick and auto-update will be disabled.
CLI for the exe Java 7u10+
<jre>.exe [/s] [INSTALLDIR=<drive>:\<JRE_install_path>] [STATIC=1] [WEB_JAVA=0/1] [WEB_JAVA_SECURITY_LEVEL=VH/H/M/L]
Java JRE x64
jre-6u27-windows-x64.exe /s /v"/qn[IEXPLORER=1][REBOOT=Suppress][JAVAUPDATE=1][EULA=1]"
Java JRE x32
Extract .exe content, copy files, run; msiexec /i jre1.6.0_27.msi /q
in case of installing JRE 1.7 update 13:
Sometimes it is needed that the browsers (and java applications) are closed before installingthe new update.
Also when using 64bit browser and 32bit browser you should install java 64 bit and also java 32 bit to make sure it works in both version of browsers.
To check if you have the latest java, you can go to java.com and click "do I have java?"
I used "setup.exe -r" to record a setup.iss file with j2re 1.4.1_01. You can than use "setup -s setup.iss" for a silent install.