Error: "Java is not recognized as an internal or..."

When I enter a command starting with "java" from command prompt, I get the error "Java is not recognized as an internal or external command."

I think I have installed Java on the computer.

Please tell what is going wrong.

Thanks!
dshrenikAsked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
Sounds like the path to the Java exe is not in your $PATH environment variable, so you will need to specify the full path to the java exe. Or you can add it to the $PATH environment variable
0
 
dshrenikAuthor Commented:
Please tell me how I can do the same. Thanks!
0
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
If you need instructions for changing the PATH variable check here:

    http://www.computerhope.com/issues/ch000549.htm
0
 
for_yanCommented:

I think Java is still not  within your PATH
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.