With Neon, Eclipse comes with an installer. I could not find any configuration menu in the installer. My java version is:
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)
on an ubuntu 14.04 64 bits.
I tried to configure the proxy in the eclipse-inst.ini:
...
-Djava.net.useSystemProxies=true
-Dhttps.proxyPort=8888
-Dhttp.proxyPort=8888
-Dhttps.proxyHost=localproxy
-Dhttp.proxyHost=localproxy
as documented here https://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html but the installer hangs...
Just click on Connections tab and LAN Settings button. Check Use a proxy server for your LAN (...) box and provide proxy details. Then go to Spring Tool Suite window and click on Window >> Preferences >> General >> Network Connections and choose Native from the Active Provider drop down list.
There are two options:
A simpler approach would be to set up proxy in your command line:
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:[email protected]:port
csh $ setenv https_proxy http://user:[email protected]:port
csh $ cd <Folder where Eclipse installer is downloaded>
csh $ ./eclipse-inst
Windows:
set HTTP_PROXY=http://user:[email protected]:port
set HTTPS_PROXY=http://user:[email protected]:port
and invoke the eclipse-inst tool from the same command line.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With