I can also confirm this bug. It happens with both versions of Ant (1.8.1 and 1.7.1) in Natty.
I had to remove jsch.jar from /usr/share/ant/lib and make a symlink to /usr/share/java/jsch.jar: cd /usr/share/ant/lib rm ant-jsch.jar ln -s ../../java/jsch.jar ant-jsch.jar -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/811137 Title: sshexec (libjsch-java) is not directly usable after installation of ant-optional To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ant/+bug/811137/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs