Full Error Message:
“Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object”
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.