Update build scripts after package structure change, and add a script to download JREs

See https://jira.codehaus.org/browse/UDIG-2008