Based on the latest Java binding of the OpenNI, I put the SimpleViewer sample into a Processing sketch. The trick is to convert the BufferedImage into a PImage object for display.
I did testing with another sample – UserTracker. It seemed that it can only run in 32 bit environment, not the 64 bit.