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

Version return not accepted

For some reason the challenge is not accepting my results.

These are my results.

Oskars-MacBook-Pro:~ Oskar$ java -version java version "10" 2018-03-20 Java(TM) SE Runtime Environment 18.3 (build 10+46) Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)

It's bugging me.

Thanks in advance.

results.txt
Oskars-MacBook-Pro:~ Oskar$ java -version
java version "10" 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+46)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+46, mixed mode)
Chris Tvedt
Chris Tvedt
3,795 Points

Remove the "Oskars-MacBook-Pro:~ Oskar$ java -version" part and it will work.

1 Answer

Chris Tvedt -- Tried that, doesn't work I'm afraid. Thanks for the answer though :)