Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialGaurang Kotasthane
1,394 PointsError occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object
I got this error today in command prompt after I noticed that there were tons of errors in my code on IntelliJ .....errors like " cannot resolve type" etc Please help me. I didn't upgrade or downgrade anything JDK version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
Please help it's so frustrating
2 Answers
Gaurang Kotasthane
1,394 PointsI reinstalled the JDK and it seems to work properly
Alexander Nikiforov
Java Web Development Techdegree Graduate 22,175 PointsHave you tried installing Java JDK and not Java JRE ?
This looks to me like JRE
Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)