Hi,

Get into the path where javac is located explicitly and start using it.
Eg: 
I have a file usage.java in C:\example, so to compile it ;get into C:\example 
folder on cmd prompt and type the below
C:\Program Files\Java\jdk1.6.0_06\bin javac usage.java.
It should work.

Best Regards
Karthik




________________________________
From: arindam chatterjee <[email protected]>
To: [email protected]
Sent: Sunday, 16 August, 2009 5:19:20 PM
Subject: [java programming] How to show the path

Hello everyone,
I am having "java_ee_sdk-5_07-windows-ml" installed(this sdk has jdk in it) in 
my computer.But whenever I am trying to compile any .java file rom the command 
prompt,it is showing "javac is not recognized as an internal command,operable 
program or batch file".But surprisingly in netbeans,it is running(during 
installation I mentioned the JDK path in both the "user variable" and "system 
variable" of "Environment variables").Previously I had JDK installed 
separately.At that time everything ran properly.
What should I do to compile any ..java file from the command prompt.
Regards,
Arindam



      See the Web&#39;s breaking stories, chosen by people like you. Check out 
Yahoo! Buzz. http://in.buzz.yahoo.com/
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to