in the ebuild i see: foo=`java-config --java-version 2>&1 | grep "1.4."` this make the app not working with 1.5 jdk, even if java dependency is >= 1.4.* editing the grep statement fixed that. simply change that grep and it builds good with 1.5 too.
grep has been removed