您的位置:首页 > 其它

一位朋友的忠告

2010-08-27 10:12 190 查看
不同版本的eclipse有不同的设置方法
方式一:
 默认的Eclipse 是不用代理上网,但在一些公司的局域网,需要使用代理上网,因而需要手工设置eclipse的上网设置window-->preferences-->general-->network connections选中 manual proxy configuration: 依次填入http proxy , port就ok 了。另外,如果代理需要用帐号和密码就需要选中 Enable proxy authentication,然后填上 user name  及password   取消,ok
方式二:
通常的升级,只需要在window->preferences->Install/Update:Proxy Settings中设置一下即可.而一般的Web Service程序, 需要访问网络资源, 此时设置的代理是使得JAVA VM通过代理访问,设置方式是:Run-->Run...-->(x=)Argument下面的VM Arguments下设置:-Dhttp.proxyHost=[代理IP地址] [空格] -Dhttp.proxyPort=[端口]注:[]不需要加,如一个具体的实例如下:        -Dhttp.proxyHost=202.189.126.86  -Dhttp.proxyPort=3128方式三:
如果你需要代理才能上网更新eclipse的话,请在启动eclipse时加上参数,例如:eclipse.exe -vmargs -DproxySet=true -DproxyHost=aProxyAddress -DproxyPort=aProxyPort其中aProxyAddress就是你的代理IP,aproxyPort是代理端口。更新eclipse的方法是Help-->Software Updates-->Find and Install...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: