Workaround for Apache Ant Install Bug
问题 Can someone please help with instructions for a workaround on the Apache Ant installation bug in Windows? The snippet below describes one of three workarounds. If you are able to successfully get one of these to work, can you please share? http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7077696 (1) Run with -Djava.net.preferIPv4Stack=true - add a firewall exception for the Java binary. (2) Run with -Djava.net.preferIPv4Stack=true (which disables IPv6 and uses AF_INET sockets exclusively)