I'm receiving following error message when trying to debug a project on Eclipse Oxygen5:
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.
I had the same problem. After investigating, I've found that removing my debug configurations fixes the problem. So, in your debug config, remove
Xrunjdwp:transport=dt_socket,suspend=n,address=8000,server=y