Trying to fix the Java code.