Hi Jan, I think you should run java-1.5-fixer and then try again. Miroslav Jan Meier wrote: > Hello, > > I get the following error when I try to emerge ant-tasks: > > >>>> Compiling source >>>> > in /var/tmp/portage/ant-tasks-1.6.5-r2/work/apache-ant-1.6.5 ... > Buildfile: build.xml > > prepare: > > check_for_optional_packages: > > BUILD FAILED > java.lang.UnsupportedClassVersionError: org/mozilla/javascript/Scriptable > (Unsupported major.minor version 49.0) > > Total time: 3 seconds > >>>> Source compiled. >>>> Test phase [not enabled]: dev-java/ant-tasks-1.6.5-r2 >>>> > > >>>> Install ant-tasks-1.6.5-r2 into /var/tmp/portage/ant-tasks-1.6.5-r2/image/ >>>> > category dev-java > > !!! ERROR: dev-java/ant-tasks-1.6.5-r2 failed. > Call stack: > ebuild.sh, line 1539: Called dyn_install > ebuild.sh, line 1013: Called src_install > ant-tasks-1.6.5-r2.ebuild, line 80: Called > java-pkg_dojar 'build/lib/ant-*.jar' > java-utils-2.eclass, line 197: Called die > > !!! build/lib/ant-*.jar does not exist > !!! If you need support, post the topmost build error, and the call stack if > relevant. > > !!! When you file a bug report, please include the following information: > GENTOO_VM=blackdown-jdk-1.4.2 CLASSPATH="" > JAVA_HOME="/opt/blackdown-jdk-1.4.2.03" > JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="" > and of course, the output of emerge --info > > > Any suggestions how I can solve this problem? > > Regards > Jan > >