Upgraded JDK, and fixed up wget issue