Add a java program