Download the Java offline installer.
Run the executable and cancel the install.
The extracted files (msi and cab files) will be in the following directory:


Copy the extracted files to the C drive.
Use the following command to install java from the msi without the Java updater or autoupdate check:

msiexec /i “c:\jre1.6.0_30\jre1.6.0_30.msi” JAVAUPDATE=0 JU=0 AUTOUPDATECHECK=0

Follow the on-screen prompts to complete the install.