Errors in code

Like others have said, processing is a different language to what the Arduino IDE uses ( C++ ).

You will have to transpose your code which includes transposing the whole SimpleOpenNI library.

If the kinect can be used, there must be Arduino examples out there.