for all PPC based Macs OS X 10.5 Leopard is the last
operating system available - 10.6 Snow Leopard only
works on Intel Macs. Therefore Java 5 will be the
lastest Java for most PPC Macs.
As far as I know there is no Java 6 for PPC from Apple.