added error statement when the user doesnt enter parent directory of the jar file