Reputation: 23
Whenever I press RUN in Eclipse, I get this error: "Error: could not open 'C:\Program Files\Java\jre1.8.0_60\lib\amd64\jvm.cfg' ".
I tried reinstalling all my Javas and they are all up-to-date.
My installed version JRE is jre1.8.0_66.
Upvotes: 0
Views: 9819
Reputation: 111217
It sounds like your Eclipse is looking for an older JRE. Look in the Eclipse Preferences 'Window > Preferences > Java > Installed JREs' and update it to use the path for the update 66 JRE/JDK.
Upvotes: 3
Reputation: 727
This file is important (What is the purpose of jvm.cfg file in relation to Java?) and missing it means your installation is corrupted .. you should reinstall it carefully (be sure to choose the right one for your OS/Architecture)
Edit: Java path..Error of jvm.cfg, this post might help you; hope you'll fix your issue!
Upvotes: 1