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
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
Solution
Make sure that you have Jdk1.6 installed on your machine , open the eclipse.ini file and add “-vm” argument to it like below
-vm
D:\software\jdk1.6.0_20\bin\javaw.exe
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.
Note :
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.
No comments:
Post a Comment