当我尝试在 Eclipse 中运行 Java 程序时,出现以下错误:
“在“启动 ConvertExcelToJSON”期间发生内部错误。
无法调用“org.eclipse.jdt.launching.IVMInstall.getLibraryLocations()”,因为“install”为空”
我以前从未见过这个错误,程序运行之前没有问题。昨天我的工作机器得到了更新,也许这导致了我出现这个错误。
有人以前见过这个并且也许有解决方案吗?
It happened after I changed my Installed JREs
configuration. Eclipse's default bundled JRE 16 was selected in IDE's Run Configurations
, but my project was set to Java 8 everywhere in project configurations(maven etc).
Following fixed my case:
Go to Run > Run Configurations
then go to JRE
tab and update the project JRE according to new configuration. So that JRE version in eclipse matches the project requirements.
![Go to Run>Run Configurations. Go to JRE tab. And fix the JRE setting](https://i.stack.imgur.com/iHm4Q.png)
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)