?
Solved

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

Posted on 2011-02-10
4
Medium Priority
?
396 Views
Last Modified: 2012-05-11
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!
0
Comment
Question by:dshrenik
  • 2
4 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 2000 total points
ID: 34867022
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
 

Author Comment

by:dshrenik
ID: 34867026
Please tell me how I can do the same. Thanks!
0
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 2000 total points
ID: 34867028
If you need instructions for changing the PATH variable check here:

    http://www.computerhope.com/issues/ch000549.htm
0
 
LVL 47

Expert Comment

by:for_yan
ID: 34867029

I think Java is still not  within your PATH
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question