bin/java: No such file or directory
时间: 2023-09-26 21:10:22 浏览: 117
回答: 这个错误提示"/usr/local/bin/java: No such file or directory"表示找不到java可执行文件。根据引用\[1\]中的信息,启动日志文件中只有一行错误信息,说明在服务器上查询java进程时,该项目并没有成功启动。根据引用\[2\]和引用\[3\]中的内容,可能是JAVA_HOME环境变量配置有问题。建议检查JAVA_HOME环境变量的配置是否正确,确保指向正确的Java安装路径。另外,还需要确保Java可执行文件的路径是否正确。
#### 引用[.reference_title]
- *1* [jenkins构建java工程:/usr/local/bin/java: No such file or directory](https://blog.csdn.net/a5331270/article/details/122216222)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [/bin/java: No such file or directory](https://blog.csdn.net/zlfing/article/details/90180744)[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^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文