Fixed the java file