javascript
Brief description  about Online courses   join in Online courses
View Gunjan  Bhatnagar 's Profile

problem in compiling a program

Sir, i have installed java in my laptop and set the path in environment variable
but wen i compile prgrm it shows an error..'javac' is not recognized as an internal and external command
Can you plz help me in solving my prblem... m not able to run any of my prgrm due to this
Asked by Gunjan Bhatnagar | Mar 5, 2011 |  Reply now
Replies (4)
View manish jagdish joshi 's Profile
Dear Gunjan, in the above path I have put backward slash after each folder when I posting the answer but can not be seen by some technical problem.
Oct 5, 2012
View manish jagdish joshi 's Profile
Dear Gunjan, in the above path I have put backward slash after each folder when I posting the answer but can not be seen by some technical problem.
Oct 5, 2012
View manish jagdish joshi 's Profile
Here in the path there was not any back slash "\". Path should be look like here: set path=C:\Program Files\Java\jdk1.6.0_22\bin
Do not put any semi colon behind the path. I have seen in the video tutorial so I expressed here.
Oct 5, 2012
View arun kumar das 's Profile
Hi

your java path did not set in environment variable, that's why this error is coming.
set the path like below in environment variable
path=C:\Program Files\Java\jdk1.6.0_22\bin;

please check your java path and set it properly, than try to run program.

java teacher
Mar 7, 2011