Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Oxigen5 - "Cannot connect to VM Socket operation on nonsocket: configureBlocking"

I'm receiving following error message when trying to debug a project on Eclipse Oxygen5:

Cannot connect to VM

This Eclipse installation was made on a new machine along with JDK1.8.0_144 and JRE1.8.0_144. I then copied the workspace folder containing the project and placed it in the new machine, where I opened it with Eclipse. Everything seems fine, it runs the project normally, but when I click on debug, it gives me the error. I tried searching for a solution to this issue and came across multiple posts of people having similar problems, but nothing worked. The machine is running under Windows 10 Pro x64 (10.0, Compilation: 14393).

EDIT: I should also mention that I'm connected to this machine via TeamViewer. I transferred the project to the new machine using TeamViewer and opened it's root folder as the workspace folder when Eclipse was launched. I already tried uninstalling everything and reinstalling it.

like image 678
Mateus Folletto Avatar asked Oct 30 '22 02:10

Mateus Folletto


1 Answers

I had the same problem, and, after uninstalling JRE/JDK, recovering Eclipse files and a whole afternoon of research, I found that the error "Cannot connect to VM Socket operation on nonsocket: configureBlocking" didn't happen anymore after changing my default output folder from a linked resource to a local folder.

Instructions for changing the default output folder here.

like image 147
Lekso Pozuaho Avatar answered Nov 15 '22 06:11

Lekso Pozuaho