Forum : JDK installation
Brief description  about Online courses   join in Online courses
View Abhilasha  Singh 's Profile

JDK installation

I installed JDK.While compiling a program,I was getting error message 'javac' is not recognised as an internal or external command,operable program or batch file.In notes it is mentioned to set path using command.But after setting the also i m getting the same error as mentioned above.
Help me..
Asked by Abhilasha Singh | Mar 13, 2010 |  Reply now
Replies (7)
View pradeep g-k 's Profile
Hi ,
I faced the same problem and tried the suggestion given by Sangita, but still i am facing the same error. Please let me know if there is any other way to solve this problem.
Jun 20, 2010
View pradeep g-k 's Profile
Hi Guys,
I faced the same problem and tried the suggestion given by Sangita, but still i am facing the same error. Please let me know if there is any other way to solve this problem.
Jun 20, 2010
View karthick s-m 's Profile
Thank you! It works..But why do we need to do it.. ? ?
May 24, 2010
View abhilasha singh 's Profile
yes.
Thank You.
Mar 14, 2010
View arun kumar das 's Profile
javac is an executable command which comes as part of the jdk package.

You will be executing javac command from your command prompt which is part of Windows. Windows doesn't have any idea as where to find the javac.exe or simply javac executable from. By setting the path or environment variable you are telling windows the location of javac.exe it can access to execute it.

Hope this helped...

Cheers...
Mar 14, 2010
View abhilasha singh 's Profile
Thank you..
Now its Working.
Can you please explain the reason behind it?
Mar 14, 2010
View sangita biswal 's Profile
U can set the path in another way also.
Go to my computers -> c drive -> programme files -> java -> jdk 1.6 ->
bin now copy the path that is in the address bar.Now on the desktop right click on My computer icon and select properties .Here select the Advanced tab -> Environment Variable -> in system variables select path then click on edit -> now in the edit system variable box put a ';' at the end and paste the copied path and click on OK button.Your path is set now .Try this
Mar 14, 2010