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 trial

Java Local Development Environments How it Works Check Your Installation

Paste the result from java -version

Hi,

Im pasting this from my PC

java version "16" 2021-03-16 Java(TM) SE Runtime Environment (build 16+36-2231) Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

But when I push check work button It says, that my result is incorrect

should I downgrade my java installation to the same version of this course?

Thank you

cheers,

results.txt
# Paste your info below
java version "16" 2021-03-16
Java(TM) SE Runtime Environment (build 16+36-2231)
Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)

1 Answer

Michael Hulet
Michael Hulet
47,912 Points

That looks fine to me, it seems this challenge just doesn't wanna parse that input properly for some reason. You probably don't need to/shouldn't worry about downgrading Java, unless you run into parts of this course later that just don't seem to work on your Java version (I doubt there will be, Java historically doesn't change all that much over time in breaking ways), but you should probably email Treehouse support and let them know about this broken challenge. You should be able to skip this challenge safely until they get back to you and patch it