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 trialAdam Shockley
4,548 PointsHmmm. That output doesn't look right, are you sure you ran java -version?
java -version returns the following for me in both Bash and CMD:
java version "12" 2019-03-19 Java(TM) SE Runtime Environment (build 12+33) Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)
# Paste your info below
java version "12" 2019-03-19
Java(TM) SE Runtime Environment (build 12+33)
Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)
1 Answer
adrian miranda
13,561 PointsLooks like when teamtreehouse created the checker, they made a bad assumption about the format of the version number. They are expecting the main version to have at least 2 periods in it. That is true on all of the versions I just checked, but evidently yours is different.
If you change "12" to "12.0.0", it will work fine.