updated jre1.7u17 and improved builder to detect jre version