您的位置:首页 > 编程语言 > Java开发

『转』Fedora系统Eclipse不能Debug的解决方法

2007-12-01 16:14 411 查看
 http://tech.ccidnet.com/art/302/20071128/1290405_1.html
因为我的机器比较内存比较少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
 
(责任编辑:云子) 
 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  eclipse socket windows web