Removed an unused import
Set the Java version