Deploying Java

We had a hard time getting a clean silent java deploy. There is a bug where the settings file has to exist for a silent install. This is the script i ended up with.