Upgraded java to java8