Loading the sketchbook examples problem

When you try to upload, do you get an error message following the command line? Sometimes the Arduino software gives the "Couldn't determine program size" error even when the sketch compiles successfully, so that may not be a problem. Can you also enable build.verbose in your preferences.txt? And then post the full text of the messages you get when you upload (this will also compile your sketch)?