I'm trying to upgrade tomcat to 5.5.20-r2. I only have installed : dev-java/sun-jdk-1.5.0.08 virtual/jdk-1.5.0 virtual/jre-1.5.0 So, I don't want/need (?) java 1.4.x. I use USE flag java5 for tomcat, and commons-collections doesn't compile : * Using Generation-1 System VM: blackdown-jdk-1.4.2 >>> Unpacking source... >>> Unpacking commons-collections-3.1-src.tar.gz to /home/portage/tmp/portage/commons-collections-3.1/work tar: A lone zero block at 9646 >>> Source unpacked. >>> Compiling source in /home/portage/tmp/portage/commons-collections-3.1/work/commons-collections-3.1 ... Error: JAVA_HOME is not defined correctly. We cannot execute /opt/blackdown-jdk-1.4.2.03/bin/java Do I really need jdk-1.4 or is it a little bug in dependencies ?
Try w/ 3.2 please.