install4j应用程序使用错误的代理设置

时间:2018-07-05 09:16:23

标签: install4j

我正在install4j.vmoptions(install4j 7.0.4)中使用这些设置:

# Clear out cached proxy information
-Dinstall4j.clearProxyCache=true
# and hopefully prevent install4j from reloading it from the default browser
-Dinstall4j.noProxyAutoDetect=true
# Unconditionally shows proxy config dialog
-Dinstall4j.showProxyConfig=true
# Log issues to %TEMP%\install4j_error.log
-Dinstall4j.showConnectError=true

我没有代理对话框;错误日志中的输出是这样的:

java.io.IOException: Proxy password required. Please set the parameter -DproxyAuthPassword=[password].
at com.install4j.runtime.installer.helper.content.HttpRequestHandler.askForProxyPassword(HttpRequestHandler.java:335)
at com.install4j.runtime.installer.helper.content.HttpRequestHandler.getURLConnection(HttpRequestHandler.java:233)
at com.install4j.runtime.installer.helper.content.HttpRequestHandler.connect(HttpRequestHandler.java:124)
at com.install4j.runtime.installer.helper.content.Downloader.connect(Downloader.java:151)
at com.install4j.runtime.installer.helper.content.Downloader.connect(Downloader.java:24)
at com.install4j.runtime.installer.helper.content.HttpRequestHandler.connect(HttpRequestHandler.java:117)
at com.install4j.runtime.installer.helper.content.Downloader.connect(Downloader.java:146)
at com.install4j.gui.c.h.c(ejt:72)
at com.install4j.gui.c.h.run(ejt:38)

这与以下两个假设相反: 1)install4j应该记录代理设置。 2)install4j应该显示具有这些设置的代理对话框。 我想念什么?

更新:-DproxyAuth=false会更改错误消息,现在会抱怨证书问题。

1 个答案:

答案 0 :(得分:0)

这与install4j IDE中的JRE下载有关,并将在7.0.7中修复。

请写信至support@ej-technologies.com以获得包含此修复程序的版本。

或者,您可以从以下位置手动下载JRE捆绑包

https://download.ej-technologies.com/bundles/list