![](/img/trans.png)
[英]How to install eclipse neon version for 32 bit system in ubuntu 14.04
[英]How to install Eclipse Neon behind a proxy
在 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但安裝程序掛起...
有兩種選擇:
一種更簡單的方法是在命令行中設置代理:
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-inst
窗戶:
set HTTP_PROXY=http://user:password@proxy.domain.com:port
set HTTPS_PROXY=http://user:password@proxy.domain.com:port
並從同一命令行調用 eclipse-inst 工具。
我可以找到一種解決方法,即從以前的 Eclipse Mars 配置中復制有效的網絡配置。
cp <old_eclipse>/configuration/.settings/org.eclipse.core.net.prefs <neon_installer_path>/eclipse-installer/configuration/.settings
它有效,但它看起來真的很像黑客,還有其他線索嗎?
解決方案對我有用:Windows:
set HTTP_PROXY= http://user:password@proxy.domain.com:port set HTTPS_PROXY= http://user:password@proxy.domain.com:port並從同一命令行調用 eclipse-inst 工具。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.