Whenever you work with
Java, ALWAYS be case-sensitive. It can not only save you some puzzlement, but if you ever need to run on a fully case-sensitive platform - for example, management got fed up with Code Red and ordered a switch to BSD - you'll have one less item to convert.
For the same reason, I recommend you always specify filepaths in "Unix" format. Java understands how to accomodate Windows, so there's less editing required there as well. Plus, in program code, the backslash character is an escape character, and I can't begin to count them number of times I've burned myself because of that.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.