直到今天,当我尝试在可视化编辑器中打开一个类时,我都很好地设置了我的 Eclipse 来编写简单的 Java 桌面应用程序,但我得到了错误:
---------------------------
Error:
---------------------------
IWAV0138E Remote VM terminated too soon. See .log file for trace of output.
For VM "Project (MyProj)-VM for MyProj".
详细信息是:
An internal error occurred during: "Create Remote VM for Visual Editor for Java".
IWAV0171E Could not create a socket connection to remote vm.
This is often due to your firewall blocking access from your java
to do local access.
现在我环顾四周,发现javaw.exe
无法建立本地连接并且防火墙被阻止,所以我关闭了防火墙,Windows和卡巴斯基,但这没有任何区别。
此外,我尝试修改win/system32/drivers/etc
已127.0.0.1
链接到的主机文件localhost
,但我添加了另一行包含真实网络 IP 和计算机名称的行,但也没有用。
我尝试运行嵌入在 Oracle Weblogic 中的 Eclipse,它可以工作,所以我猜它只适用于我正在使用的 JDK?有人有这个问题吗?
问候, 伊姆兰