在Neon中,Eclipse附带了一个安装程序。我在安装程序中找不到任何配置菜单。我的java版本是:
java -version
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)在ubuntu 14.04 64位上。
我尝试在eclipse-inst.ini中配置代理:
...
-Djava.net.useSystemProxies=true
-Dhttps.proxyPort=8888
-Dhttp.proxyPort=8888
-Dhttps.proxyHost=localproxy
-Dhttp.proxyHost=localproxy如此处所述的https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html,但安装程序挂起...
发布于 2016-08-26 23:57:55
有两个选项:

发布于 2019-09-17 16:42:47
一种更简单的方法是在命令行中设置代理:
Linux:
bash $ export http_proxy=http://www-proxy.example.com:80
bash $ export https_proxy=http://www-proxy.example.com:80 # Replace with your proxy protocol, url and port.
bash $ cd <Folder where Eclipse installer is downloaded>
bash $ ./eclipse-inst
csh $ setenv http_proxy http://user:password@proxy.domain.com:port
csh $ setenv https_proxy http://user:password@proxy.domain.com:port
csh $ cd <Folder where Eclipse installer is downloaded>
csh $ ./eclipse-instWindows:
set HTTP_PROXY=http://user:password@proxy.domain.com:port
set HTTPS_PROXY=http://user:password@proxy.domain.com:port并从同一命令行调用eclipse-inst工具。
发布于 2016-08-26 22:45:46
我可以找到一种变通方法,即从以前的Eclipse Mars配置中复制有效的网络配置。
cp <old_eclipse>/configuration/.settings/org.eclipse.core.net.prefs <neon_installer_path>/eclipse-installer/configuration/.settings
它起作用了,但它看起来真的像黑客,还有其他线索吗?
https://stackoverflow.com/questions/39169025
复制相似问题