Why P2D not working inside Eclipse when i using the processing.core?

Only core, thank you
I will try to do like this