MyEclipse下面debug的时候报错 “can not connect to VM”

wsdydmw 2012-03-31 08:37:44
在MyEclipse下面点击 debug as ->java application 报错。但是如果是run as ->java application的话是可以的。
我把jdk重装了还是不行。
...全文
557 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
mowuzei 2014-07-21
  • 打赏
  • 举报
回复
我试了netsh winsock reset,还是不行哦
dracularking 2012-04-05
  • 打赏
  • 举报
回复
我覺得run和debug配置差別應該不會太大
可能有什麽地方有專門的針對性配置,被改過了

試試將myeclipse的設置reset to default
dracularking 2012-04-05
  • 打赏
  • 举报
回复
看來本地啟動jvm也需要socket

cannot connect to JVM中的connect應該暗示了一些

Reset Winsock: Most of the Internet connectivity problems arise out of corrupt Winsock settings. Windows sockets settings may get corrupted due to the installation of a networking software, or perhaps due to Malware infestation. You will be able connect to the Internet, but the packets won’t transfer back and forth. Resetting Winsock might fix the issue.
wsdydmw 2012-04-05
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 的回复:]

改成128Mk
[/Quote]
额 在什么地方改呢
wsdydmw 2012-04-05
  • 打赏
  • 举报
回复
已经搞定了 是win7的winsock损坏
在cmd里面键入netsh winsock reset就可以了
wyx100 2012-04-05
  • 打赏
  • 举报
回复
將myeclipse的設置reset to default
崔叫兽 2012-03-31
  • 打赏
  • 举报
回复
改成128Mk

58,445

社区成员

发帖
与我相关
我的任务
社区描述
Java Eclipse
社区管理员
  • Eclipse
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧