红联Linux门户
Linux帮助

Fedora下eclipse不能debug的解决方法

发布时间:2007-11-27 01:12:55来源:红联作者:Enlist
因为我的机器比较内存比较少512M,在windows下运行eclipse经常因为内存不够而自动退出eclipse,所以就装了Red Hat的 Fedora6,经过一天的折腾后,发现不能调试web程序,后来再网上查了些资料解决了问题,但是因为所查资料都是英文的所以记录下来备忘。

错误信息是:
ATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113)
ERROR: transport error 202: gethostbyname: unknown host ["transport.c",L41]
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) ["debugInit.c",L500]
JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initialized

解决办法:
在/etc/hosts文件中加入下面一行内容
127.0.0.1 localhost.localdomain localhost
文章评论

共有 0 条评论