Liz Lily
Liz Lily

Reputation: 23

Eclipse Java Virtual Machine Launcher jvm.cfg Error

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.

enter image description here

Upvotes: 0

Views: 9819

Answers (2)

greg-449
greg-449

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

Florian
Florian

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

Related Questions