Jdk source and target config, updating library version and clean up code