added confirmation that the jar name is not empty