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

Paul Moye
Paul Moye
2,807 Points

Local Development Environment challenge - why am I getting wrong answer after installing and pasting from terminal?

I installed the intelliJ IDEA and JDK 18 in previous videos, followed instructions per video, and pasted from terminal and got wrong answer. Then I installed the JDK again per the video instructions. Still got wrong answer.

Terminal code pasted: openjdk version "18.0.1.1" 2022-04-22 OpenJDK Runtime Environment (build 18.0.1.1+2-6) OpenJDK 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)

results.txt
openjdk version "18.0.1.1" 2022-04-22
OpenJDK Runtime Environment (build 18.0.1.1+2-6)
OpenJDK 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)

2 Answers

Steven Parker
Steven Parker
231,261 Points

This is a common issue, as you can see from the other questions asked about this same challenge. It seems to be expecting the response you get from doing this using the Workspace, which is a bit different from what you get from your local environment. Try this using a Workspace and provide that answer to the challenge.

Paul Moye
Paul Moye
2,807 Points

I am surprised they want a generic answer from the workspace vs the result from a local environment. The video seems to suggest the answer would be from the local environment, though I understand each person's result might vary based on their specific path and operating system, etc.

Steven Parker
Steven Parker
231,261 Points

It would probably make sense for the challenge to specifically instruct you to use the Workspace. You might consider sending a suggestion to the Support staff.