Solved

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

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JavaScript/Java - Changing an image background color 4 67
hibernate jars 4 32
eclipse console opening separately 2 21
Html Table Looping (part 2) 5 7
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
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…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

810 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