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

Local Development Environment - Doesn't accept my answer.

I'm being asked to copy the result after doing java -version in the terminal. I'm pasting what I get and it won't accept it. I'm not sure what I could be doing wrong.

results.txt
Michaels-iMac:~ jebadeiah$ java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

1 Answer

I got it to work by fibbing it. I changed the answer to:

Michaels-iMac:~ jebadeiah$ java -version java version "0.9.0_00" Java(TM) SE Runtime Environment (build 9+181) Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)

Why won't it keep my formatting?