Add :java-only to Java game template