You can try:System.setProperty("http.proxyUser", "myuser");System.setProperty("http.proxyPassword", "mypassword");If it doesn't work, see the following article:www.javacoding.net/.../passproxy.html