fix for classpath when using -jar

If -jar argument is given classpath given by -cp is ignored, this is a fix for this issue