Java & Eclipse IDE: Setting Proxy
Sources:
- https://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html#Proxies
- https://stackoverflow.com/questions/15927079/how-to-use-httpsurlconnection-through-proxy-by-setproperty
System.setProperty("http.proxyHost","x.x.x.x"); System.setProperty("http.proxyPort","8080"); System.setProperty("http.proxyUser","name"); System.setProperty("http.proxyPassword","pass");
-Djava.net.useSystemProxies=true
http://docs.oracle.com/javase/7/docs/api/java/net/doc-files/net-properties.html#Proxies