reset version
added better stack checking and included jdk urls