So, first of all, you need to get the latest EXE from Java, you can get this from here:
Once downloaded, you should then run the EXE as if you were going to install it.
You will be first greeted with the page below:
You should then click “install”.
It will then download the files required as below:
Once downloaded, you should get a screen like below – Do NOT go any further with the installation!
You should then be able to go to the above temp location and see a folder called “jre1.7.0_09” (version numbers may change) like the folder below:
Within this folder, you will find the MSI file that you need for distribution.
You can then cancel the java install but note, this will clear the temp files.
Update added 26th April 2015 – Please be aware that it seems that the MSI extraction does not always work with the newer versions of Java, so please see the guide below which shows you how to setup a silent install using the standard offline installer:
If you have any questions on this guide, please leave a comment below using our comments system and we will get back to you as soon as we can.