Is this really the path of the
servlet jar on your machine? In particular, it looks like you are missing a leading slash.
Try running "ls Users/mudradesai/Downloads/apache-tomcat-8.5.15/lib/servlet-api.jar" from the directory you are running the javac command. If it doesn't work, there's the problem.