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

Andy Stevens
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Andy Stevens
Front End Web Development Techdegree Graduate 20,417 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
231,261 Points

Try using the version supplied in the workspaces.

And only enter the output, not the command itself.