Error occurred during initialization of VM Windows 7, windows xp

Full Error Message:

Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object


If you get this error message chances are that your java vm is corrupted (whatever that means) since there are not much out there to help us out.

Here is how we solved this issue:

1. Remove Java entirely (we use a software called revo uninstaller).  At the time of writing this software has a free version or you can simply buy it (note that YCSoftware is not affiliated with this company). We personally like this software because it removes any leftovers from the registry.

2. Download java from this page http://www.java.com/en/download/manual.jsp

3.  Install it.

4. Now go to your command line and type “java  -version” to test your achievement.


  • nig

    thankyouuuuuuuuuuuuuuuuuu

  • Kevin

    Thank you SO much! Short and sweet, I’ve been trying to figure out how to get java to uninstall for days, just so I can reinstall it with a working copy.

    Seriously useful tools

  • Juliana

    Thank you so much for this information… good to see people like this in internet today =)