Yes, Java is case-sensitive. But Windows is not. Just tell you a secret: Many of my brain cells died from PATH and CLASSPATH as I was a beginner.
As time is going, I believe you will repeat your mistakes some day. This is typical of human beings---repeating mistakes.
I hope this incidence can establish your confidence and interest in learning Java.