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

Eva Krejci
Eva Krejci
1,443 Points

Java - Check your installation

Hi, I am writing regards the Check Your Installation challenge in the Local Development Environment course in Java. Here is what I pasted as a result from running the command 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)

And I am getting the Bummer!.. answer. I am wondering why. (My OS is Windows 64-bit)

Thank you for an answer

1 Answer

Hi Eva,

Im running the same and I open up a comman prompt by typing cmd into the start menu and hit enter.

Afterwards type as prompted java -version.

I the output below:

java version "1.8.0_111" Java(TM) SE Runtime Environment (build 1.8.0_111-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.111-b14, mixed mode)

There is no java version 10 yet, it should be 1.7 or 1.8 most likely followed by an underscore and then the secuirty update version which for me is 111 so you're may well be difference.

Hope this works for you but failing that simply copy and past the above and you'll pass :)

Daniel

Eva Krejci
Eva Krejci
1,443 Points

Thank you very much I already sorted it before - that is why this answer is quite delayed. I figured that there should probably rather be version 1.8 and entered it. And I passed :-)