简体   繁体   English

Eclipse中的代理配置

[英]proxy configuration in eclipse

I have problem with proxy in Eclipse 3.7.2 in Ubuntu 12.04. 我在Ubuntu 12.04中的Eclipse 3.7.2中遇到代理问题。 Eclipse is installed from Ubuntu repository. Eclipse是从Ubuntu存储库安装的。

I have configured HTTP, and HTTPS proxy in Network Preferences and keep SOCKS clear as many people recommends. 我已经在“网络偏好设置”中配置了HTTP和HTTPS代理,并按照许多人的建议保持SOCKS清晰。 But eclipse anyway says HTTP Proxy Authentication Required. 但是无论如何,eclipse表示需要HTTP代理身份验证。

Best Regards 最好的祝福

Set system-wide proxy settings in Ubuntu network configuration dialog. 在Ubuntu网络配置对话框中设置系统范围的代理设置。

In eclipse.ini add the following line: -Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient 在eclipse.ini中添加以下行:-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors = org.eclipse.ecf.provider.filetransfer.httpclient

In Eclipse in Network Connections set Active Provider to "native". 在Eclipse中的Network Connections中,将Active Provider设置为“ native”。

I doesn't work because I use OpenJDK. 我无法使用,因为我使用的是OpenJDK。 If use oracle's java with eclipse proxy configuration in standard dialog works fine. 如果在标准对话框中将oracle的Java与eclipse代理配置一起使用,则效果很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM