Solved

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

Posted on 2011-02-10
4
387 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 500 total points
Comment Utility
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
Comment Utility
Please tell me how I can do the same. Thanks!
0
 
LVL 52

Assisted Solution

by:Carl Tawn
Carl Tawn earned 500 total points
Comment Utility
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
Comment Utility

I think Java is still not  within your PATH
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
triangle challenge 4 75
count8 challlenge 13 84
computer science syllabus 3 52
Non-recursive backtracking, using a stack 1 48
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now