Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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
MOD
Michael Hulet
Treehouse Moderator 47,835 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