Solved

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

Posted on 2011-02-10
4
391 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
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 500 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
javap bin 2 40
servlet example 17 51
jboss wildfly 10.1 10 221
Java: anonymous class 4 29
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
The viewer will learn how to implement Singleton Design Pattern in Java.

808 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