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

Kshatriiya .
Kshatriiya .
1,464 Points

I don't get how to open terminal on Windows 10 64 bit,

I've tried the java -version command on both the run and command prompt but both of them don't know what I'm trying to say to them.

results.txt
# Paste your info below

1 Answer

Florian Tönjes
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Florian Tönjes
Full Stack JavaScript Techdegree Graduate 50,856 Points

Hey Kshatriiya,

did you install the JDK? If so and you want to use the java tools from the command line you have to add them to the PATH environment variable.

Type "environment variables" into the Windows search. bar. Now it should find something like "Edit System Environment Variables" click on this. This should take you to the advanced system settings. Click on "Edit Environment Variables...".

In the system variables click on "Path" and then "Edit". Now you add a new entry to the JDK bin directory there. For me it is "C:\Program Files\Java\jdk1.8.0_77\bin" .

Now you should be able to access java from the commandline.

Kind Regards, Florian Tönjes