How to fix broken Java header files?
Try re-installing Java using this update.  It is the Java Update for Snow Leopard.  Hopefully that will fix the problems your seeing here.

Let us know if that works, if not we can do some more troubleshooting and help you out.