Java for Mac OS X 10.5 update 4 can't be installed on this disk. This software can only be installed on Mac OS X Leopard
Here is a solution:
- Click on Finder -> Utilities -> Disk Utility
- Click on HD and run Repair HD Permissions
- Restart you Mac and magic should start happening!