You probably don't need to make these debs yourself, you can use the ready-made ones in work/Asset Bank/Development/Software/Debian/. It may not be possible to distribute these outside the company though for licensing reasons so look into licensing before you do so.
Set up VM
Although these instructions produce packages compatible with Debian 5.0 Lenny and 6.0 Squeeze, the package itself can only be built on Debian 7.0 Wheezy (the testing distribution at the time of writing).
You need to use a 32-bit VM to produce 32-bit packages or a 64-bit VM to produce 64-bit packages.
Make sure that contrib is enabled in /etc/apt/sources.list:
deb http://ftp.uk.debian.org/debian/ wheezy main contrib
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
Convert it to a Debian package. This must be done as a non-root user. Note that java-package uses the filename to recognise the version of Java, so if your file doesn't end in .tar.gz (for example because your web browser changed it) then you must rename it before running java-package (see /usr/share/java-package/oracle-j2sdk.sh for more details on what filename patterns java-package recognises as Oracle Java SDKs):
You will be asked a couple of questions, then lots of things will scroll past and finally a .deb should be written to the current directory named something like oracle-j2sdk1.7_1.7.0+update17_amd64.deb. This can be installed by running the following command as root: