1
我正在嘗試使用Web Platform Installer 5.0安裝適用於Windows Azure的Microsoft HDInsight仿真器。安裝Hortonworks Data Platform時安裝失敗。以下是日誌的安裝後的部分:HDInsight安裝失敗
CAQuietExec: Checking JAVA_HOME is set correctly...
CAQuietExec: 'C:\Azul\zulu1.7.0_65-7.6.0.1-win64\bin\java -version 2>&1 | findstr /i "version"' is not recognized as an internal or external command,
CAQuietExec: operable program or batch file.
CAQuietExec: "1.6.0_31" was unexpected at this time.
CAQuietExec: Error 0x800700ff: Command line returned an error.
CAQuietExec: Error 0x800700ff: CAQuietExec Failed
CustomAction CheckPreReq returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
我已經檢查了JAVA_HOME在環境變量設置爲C:\Azul\zulu1.7.0_65-7.6.0.1-win64.
當我在命令提示符下運行命令'C:\Azul\zulu1.7.0_65-7.6.0.1-win64\bin\java -version 2>&1 | findstr /i "version"'
,它返回的結果與版本1.7.0_65
。 我不明白爲什麼在日誌中這個命令無法識別,而我能夠執行它並從1.6.0_31
版本進入日誌? 你能幫我解決這個問題嗎? 在此先感謝。
@Destrif感謝您提出修改建議 – dkthedon