I am trying to execute a java Program which attempts to copy a file from internet URL to my local disk.
I am using the following code for getting connection to the URL.
My system is connected to internet through proxy server. I am using ECLIPSE IDE for executing this Java ProgramIn ECLIPSE I have entered the proxy host, proxy port, proxy authentication details in the Windows --> Preferences --> Internet --> Proxy Settings window.
But when I execute the above Code,it displays an exception java.net.UnknownHostException.
Any ideas on how to connect to Internet URL from a system which is behind the Proxy Server ?