java.net.UnknownHostException
这个已经很明确了吧,为止主机或者你的url写错了
把你的url发出来

解决方案 »

  1.   

    InputStream input;
               HttpURLConnection con = (HttpURLConnection) (sourceURL).
                   openConnection();
               con.setRequestProperty("Proxy-Authorization",
                                      "Basic " + new BASE64Encoder().encode("username:password".getBytes()));
               URL url = new URL("http://www.somewhere.net/software/ACDSee60.zip");           System.out.println
                   (con.getResponseCode() + " : " + con.getResponseMessage());           input = con.getInputStream();
      

  2.   

    之前                System.getProperties().put( "proxySet", "true" );
                    System.getProperties().put( "proxyHost", "10.86.0.8");
                    System.getProperties().put( "proxyPort", "80");
      

  3.   

    不会啊,即使有代理,url还应该是原来的啊.
    这个错误是url不对.