The NetBeans people say that I need a Java Development Kit (JDK) 5 or 6 when I want to develop PHP with NetBeans on the Mac...
see: "To complete this tutorial, you need the following software and resources."
Now that sounds very strange to me. Must I really get that and spend some hours installing it? Why? What does Java have to do with PHP? Why's that a prerequisite?