Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with "org.eclipse.jdt.launching.IVMInstall.getLibraryLocations()"

Tags:

java

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?

like image 415
Christer Avatar asked Dec 21 '25 19:12

Christer


1 Answers

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

like image 168
Syed Aqeel Ashiq Avatar answered Dec 24 '25 09:12

Syed Aqeel Ashiq



Donate For Us

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