New version of portage adds support for licence acceptance for specific packages.
sun-jdk requires now acceptance of dlj licence (in /usr/portage/licenses)
If you do not want to get into more details simply add
ACCEPT_LICENSE=”dlj-1.1″
to your /etc/make.conf
You can also set this to
ACCEPT_LICENSE=”*”
but you won’t receive and error during installation of licensed software.