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

Andy Stevens
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Andy Stevens
Front End Web Development Techdegree Graduate 20,415 Points

I am unable to pass the results.txt challenge: I have pasted the java version I am on but it doesn't like it?

Challenge task 1 of 1 requires me to paste the results of what java version I am using.

I run java -version through cmd prompt and get the following:

C:\removed\removed>java -version java version "14" 2020-03-17 Java(TM) SE Runtime Environment (build 14+36-1461) Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

But it keeps returning an error message preventing me from moving on?

results.txt
# Paste your info below
C:\removed\removed>java -version
java version "14" 2020-03-17
Java(TM) SE Runtime Environment (build 14+36-1461)
Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

1 Answer

Steven Parker
Steven Parker
212,147 Points

Try using the version supplied in the workspaces.

And only enter the output, not the command itself.