android - Problem in running Junit tests in eclipse 3.4.1 on Mac OS -


The problem in Mac JUnit tests run in Eclipse 3.4.1 on OS

I'm getting this error : 'Lenuching Alstest' has faced a problem. Can not connect to VM

 login org.eclipse.core.net 1 0 2009-01-29 10: 07:.! 44.047 Message system property has been installed to local http.nonProxyHosts. * .local | 16.925 4/16 | * .169.254 / 16 from external source. ! 42 :: The value preferences in using th e values ​​org.eclipse.jdt.launching 4 120 2009-01-29 10 will be overwritten! 59.295 Send to connect to the VM stack 0 java.net.SocketException: java.net.PlainSocketImpl.socketAccept (Native Method java.net.PlainSocketImpl.accept the socket closed java.net.ServerSocket.accept) (PlainSocketImpl. java: 384) org.eclipse.jdi.internal.connect.SocketTransportService.accept on org.eclipse.jdi.internal.connect.SocketTransportImpl.accept on java.net.ServerSocket.implAccept (ServerSocket.java:450) (socket TransportService .java: 95) to (ServerSocket.java:421) (SocketTra nsportImpl.java:56) org.eclipse.jdi.internal.connect.SocketListeningConnectorImpl.accept (org.eclipse.jdt.internal.launching.StandardVMDebugger $ ConnectRunnable .run At SocketListeningConnectorImpl.java:135) (StandardVMDebugger.java:107) at java.lang. Thredkrn (Thredkjawa: 613) 

That did solve my problem (Iclipas Go to the Order and Export tab, move the JRE System Library to the top. Go to the Order and Export tab, go to the Project Properties-> Java Build and Add the GRE System Library

  • Hope that helps.


    Comments