java compilation
class SampleProgramme {
public static void main (String[] args) {
System.out.println("This is my first Java programme !!");
}
}
i get the error "javac is not recognized as an internal or external command,operable program or batch file"
i have checked for the proper installation of java by typing 'java' in command prompt.
anyone could please help me out with that?
--> in command prompt first write cd then provide the address of your directory like C:Program FilesJavaproject1
next provide javac SampleProgramme.java and after compilation give java SampleProgramme ...
I have even tried that but its still not working and displays the same error message...