Looks like you're doing a good job answering your own questions. What you have found out so far is that Java is picky about things you might not be picky about yourself. So "System" is not the same as "system", for example. Anyway keep going!
Don't sweat petty things, or pet sweaty things. But cuddle this tiny ad:
global solutions you can do in your home or backyard