08 November 2008

Silent mode installation of Java

The below content in a batch file will install JDK in D:\jdk1_6_10 without popping up any GUI. Useful to install without user interaction. The log will be written into setuplog.txt
echo off
start ./sdk/jdk-6u10-windows-i586-p.exe /s INSTALLDIR=D:\jdk1_6_10  /L ./setuplog.txt