Community
Participate
Working Groups
When trying to launch a Ant it gives me a popup window telling: Java virtual machine launcher: A java Exception has occurred. Message: Error logged from Ant UI: Exception Stack Trace: java.net.SocketTimeoutException: Accept timed out at java.net.DualStackPlainSocketImpl.waitForNewConnection(Native Method) at java.net.DualStackPlainSocketImpl.socketAccept(DualStackPlainSocketImpl.java:135) at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:409) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:199) at java.net.ServerSocket.implAccept(ServerSocket.java:545) at java.net.ServerSocket.accept(ServerSocket.java:513) at org.eclipse.ant.internal.launching.launchConfigurations.RemoteAntBuildListener$ServerConnection.run(RemoteAntBuildListener.java:89) -- Configuration Details -- Product: Eclipse 4.7.1.20171005-1200 (org.eclipse.epp.package.jee.product)Installed Features: org.eclipse.pde 3.13.1.v20171009-0537
Can you try 4.7.2 or 4.8 I build as we have resolved couple of issues related to this.
(In reply to Sarika Sinha from comment #1) > Can you try 4.7.2 or 4.8 I build as we have resolved couple of issues > related to this. Where can I get 4.7.2?
Sorry for the delay https://www.eclipse.org/downloads/eclipse-packages/
Hi all, this problem is still present in rev 4.9 eclipse.buildId=4.9.0.I20180906-0745 java.version=1.8.0_65 java.vendor=Oracle Corporation BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=it_IT Could you tell me how work around this? Thanks in advance Davide
Hi, I've moved to version 4.7.3a (https://www.eclipse.org/downloads/packages/release/oxygen/3a) Regards Daniel
Hi Daniel, I RESOLVE. It works also with the last version 4.9. You have to change the Ant JRE from Java7 to Java8. Right click on XML ant file -> Run As.. -> Select JRE TAB -> Change Java7 to Java8 However, it's a workaround. Regards Davide
If you want to use Java 7, you can change the Ant Home to an older Ant version after downloading from Ant site.