Cloud not find the main class
I am tryin to build a simple java program as mentioned below :
public class Hi
public static void main (String a)
the notepad file is however is saved as name of the Class me using here.
I however compiled it with no error.
But When i try to execute the Class file
i getting this error :confused:
1) Is there any sort or version difference with the JDK i downloaded i.e. 1.6
2)There is another question when i try to use
set path = "C:\ program file\java\jdk1.6\bin"
How can i conclude that the path is set?
I mean there could be possibility that i can try to compile the java file
But that is not happening:( .
3)if the path is set completly can my java file in D: be compiled ?