Question by Mit Chauhan: CORE JAVA simple problem ..?
well i have started to learn CORE JAVA just from yesterday and its gonna be a simplest question m gonna ask you ..
i have save my my core java file in “C:\Documents and Settings\Chandrik Tools\Desktop\java\my.java” path ..
and my code is this one ..
public static void main(String args)
System.out.println(“Hello .. This is My first Core java programme”);
but when i went to “cmd” prompt and try to open this file by going
“C:\Documents and Settings\Chandrik Tools\Desktop\java\”
and by typing …
i m getting this sought of error …
< "javac" is not recognized as as internal or external command,operable programme or batch file >
wht should do noww 🙁 please help me java experts ..
thank you .. .
The First Answer not working for me as i m still getting this error by changing the path ..
🙁 help mee ..
Answer by Light Cloud
You need to correctly set your PATH variable.
Here’s the official solution: http://www.java.com/en/download/help/path.xml
Add your own answer in the comments!