title: Java app behind proxy to use http_proxy variable in linux
body: <p>I am thinking of a simple Java appplication (command line) that connects to the internet to download a XML file, the problem is that my Ubuntu is using a proxy to connect to internet with username and password (through <code>http_proxy ="http://&lt;username&gt;:&lt;pwd&gt;@&lt;ip&gt;:&lt;port&gt;"</code> ). So my question is, could it be possible to write a java app to use <code>http_proxy</code> variable? Instead of programmatically setting http proxy and host in every app I will write.</p>