So like the title says, Im having an issue with eclipse JVM launcher. Last night, everything was working fine, as far as I know, nothing at all has changed on my pc since th
Ok, so after a bit of digging, I managed to fix the problem. In eclipse, I went to Windows>Preferences>Java>Installed JREs>Execution Enviorments>JavaSE-1.8>Compatible JREs>jre1.8.0_65(perfect match)
. I have no idea why or how that changed, (or why it worked) but hey, I'm not complaining. For anyone else with the same issue, first do everything I said in the question body, then try this. It hopefully will work for you too.
EDIT: I just figured out the cause of the issue as well. I opened the workspace on another computer (my workspace is on a shared drive) running java 1.8.0_60 while this computer is running java 1.8.0_65. Obviously, eclipse had to change the version therefore causing problems.
For windows user, if your getting this error:
Java Virtual Machine Launcher- Error: could not open C:\Program Files\Java\jre1.8.0_60\lib\amd6jvm.cfg
it indicates there is no jre1.8.0_60 version in your system. So you need to set the JRE version which is already there in our system by executing the below command:
execute below command: eclipse -vm jre_path
ex:
eclipse -vm "C:\Program Files\Java\jdk1.8.0_131\jre\bin\javaw"