最后,我通过反复试验弄清楚了。通过将java.net.useSystemProxies =
true与https.proxyPort一起传递,https.proxyHost解决了此问题。
基本上Java vm命令行得到了
**-Djava.net.useSystemProxies = true -Dhttps.proxyPort = 80 -Dhttps.proxyHost
= proxyserver.mycompany.com**
我不必通过https.proxyUser,https.proxyPassword。我相信代理身份验证使用与登录NTLM凭据相同的凭据。



