I faced a problem today where my eclipse suddenly stopped working.
I was trying to run eclipse on my machine but I saw below alert
I press ok and just nothing happens , eclipse didn’t start
First of all try to run eclipsec.exe file in your eclipse installation folder if you see an error message like below
“Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object”
You won’t be able to run eclipse using the eclipse.exe file
Make sure that you have Jdk1.6 installed on your machine , open the eclipse.ini file and add “-vm” argument to it like below
Please make sure you replace the path to your javaw.exe file according to the JDK installation at your machine. Now try to run eclipse and you should be able to run it now.
If you still see the above alert message when you try to start eclipse , try to copy your jdk folder from program files to your D (or C) drive and update the “-vm” argument in eclipse.ini accordingly.
I was able to run eclipse after doing the above steps.