When I try to run my Java program in Eclipse I get the following error:
"An internal error occurred during: "Launching ConvertExcelToJSON". Cannot invoke "org.eclipse.jdt.launching.IVMInstall.getLibraryLocations()" because "install" is null"
I have never seen the error before, the program has run with no problem before. Yesterday I got updates to my work machine and maybe that caused something to give me this error.
Anyone seen this before and perhaps have a solution to it?
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.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With