错误: 找不到或无法加载主类 –version
时间: 2023-09-16 09:12:23 浏览: 187
在你的问题中,错误: 找不到或无法加载主类 –version 是由于命令行中的一个错误引起的。这个错误是因为你使用了错误的命令格式。正确的命令应该是 java -version,而不是 –version。所以,你需要确保在命令行中使用正确的命令格式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [Java命令行运行错误: 找不到或无法加载主类](https://blog.csdn.net/java_s_firend/article/details/128316147)[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%"]
- *2* [IDEA打包jar-解决找不到或无法加载主类 main的问题](https://download.csdn.net/download/weixin_38741075/12821148)[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 ]
阅读全文