First download the EXE package from java.sun.com, install it, and find an MSI package on your drive.
Then use this MSI to distribute Java to other machines.
note Note: When you use the *.exe file directly with command line switches as [http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/silent.html proposed by sun] the installer waits forever for someone accepting the licence agreement. Note that "install cmd" should be in one line; it was wrapped because it was too long to fit here!
<package