Java - Proxy

java

How can we tell Java not to use the system proxy script if one is setup? How can we tell Java to by pass the system proxy script if one is setup?

Use the useSystemProxies command-line parameter:

java -Djava.net.useSystemProxies=false ...

I have not tested the above yet.

  1. https://stackoverflow.com/questions/120797/how-do-i-set-the-proxy-to-be-used-by-the-jvm
  2. https://docs.oracle.com/javase/6/docs/technotes/guides/
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License