removing the java code