Re: 'javac is not an internal or external command' this is the error iam getting while compiling a simple program



Fri, 23 May 2008 06:49:04 -0700 (PDT), /paddu/:

first i installed java software and typed a simple program then while compilation time i am getting the error as

"javac is not an internal or external command operable statement or batch file".

so what is the solution for that?

Have you installed just a JRE (Java Run-time Environment) as opposed to JDK (Java Development Kit), what site (URL) have you got it from? The former allows you to just run Java programs while the later contains the Java compiler (javac) and other tools allowing you to develop Java programs.

--
Stanimir
.



Relevant Pages