|
Dec
08
|
Set the following system properties
- http.proxyHost
- http.proxyPort
java -Dhttp.proxyHost=proxy.objects.com.au -Dhttp.proxyPort=8080 au.com.objects.MyApplication
To do the same programatically use the System classess setProperty() method
System.setProperty("http.proxyHost", proxyHostname);
System.setProperty("http.proxyPort", proxyPort);



April 2nd, 2009 at 9:12 am
[...] does not use the standard Java system properties for specifying proxy [...]