could not find java in JAVA_HOME at "D:\Program Files\Java\jdk1.8.0_311\bin\java.exe"
时间: 2023-09-10 07:12:44 浏览: 109
java.exe
报错信息 "could not find java in JAVA_HOME at "D:\Program Files\Java\jdk1.8.0_311\bin\java.exe\bin\java.exe"" 的报错原因是找不到指定路径下的Java安装文件。为了解决这个问题,你可以根据以下两个引用的建议进行操作。引用建议将原先配置的环境变量ES_JAVA_HOME的值由 "C:\Program Files\Java\jdk1.8.0_131\bin\java.exe" 改为 "C:\Program Files\Java\jdk1.8.0_131"。引用也提出了类似的解决方法,即将原先配置的环境变量ES_JAVA_HOME的值由 "C:Program FilesJavajdk1.8.0_131injava.exe" 改为 "C:Program FilesJavajdk1.8.0_131"。通过这样的修改,你应该能够成功解决这个问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [启动elasticsearch报错could not find java in ES_JAVA_HOME at “C:\Program Files\Java\jdk1.8.0_131\bin](https://blog.csdn.net/nxw_tsp/article/details/120154636)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *3* [ES问题-启动elasticsearch报错could not find java in ES_JAVA_HOME at “CProgram FilesJavajdk1.8.0_](https://blog.csdn.net/m0_67402096/article/details/126717131)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文