Putted some Java example code in class to check if it is a Java project.