Unable to perform dimmer example

I was trying out the dimmer example

https://www.arduino.cc/en/Tutorial/Dimmer

I wrote the program the Arduino program and the Processing program. The arduino program did run but the processing program did nothing when I pressed run. Did that happen to anyone else ? Please help.

Also, my processing folder is in C drive while my Arduino is on my desktop could that be causing any problem ?

Do you have Max and the Max/MSP patch installed?

Also, my processing folder is in C drive while my Arduino is on my desktop could that be causing any problem ?

No. Your desktop is, most likely, a folder on your C drive.

Were you able to get any other programs to load and run (blink led for eg.)?