Java errors when uploading the sketch

Sometimes Java errors are caused by typos in your Arduino code (IIRC a missing quote mark at the end of a string is one of them) that cause the Java system to choke. It seems that the Arduino developers have not included enough error traps.

...R