emerge mod_php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/php-4.3.2 to /
>>> md5 src_uri
php-4.3.2.tar.bz2
>>> Unpacking source...
* This ebuild should be very stable at this point.
java
* Java support may be somewhat flakey, but it shouldn't break anything.
xml
xml2
>>> Unpacking php-4.3.2.tar.bz2 to /var/tmp/portage/php-4.3.2/work
>>> Source unpacked.
readline
java
* You need to use java-config to set your JVM to a JDK!
!!! ERROR: dev-php/php-4.3.2 failed.
!!! Function php_check_java_config, Line 128, Exitcode 0
!!! You need to use java-config to set your JVM to a JDK!