Windows Server 2012 R2安裝JAVA出現 Error occurred during initialization of VM

Windows server 2012 R2在安裝JAVA的時候出現瞭如下錯誤

Error occurred during initialization of VM
Unable to load native library: Can't find dependent libraries

dos命令中javac可以正常運行。
查看了環境變量的配置都是正常的,也重啓過服務器,沒能解決問題。
之後google了一下錯誤,發現把java相關的環境變量放到Path的首部可以解決問題。
驚訝中……………………

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章