Can it be that java-gcj-compat was installed before you installed SUNs Java 6? Where /etc/alternatives/java link to?
Can you please try to "sudo update-java-alternatives --set java-6-sun"? This should make ant use SUN Java 6 instead of GCJ. -- [Feisty] Java 6 doesn't work with Ant https://bugs.launchpad.net/bugs/98699 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs