so i made a compile and run program in notepad so that i can compile and run my java programs but for some reason my run program doesn't work. whenever i run it, it says: "Could not find the main class: hello. program will exit.".
this is what i have coded in note pad for run.bat:
echo Please wait, running......
i have jdk 1.6.0_16 installed and i'm pretty sure that the classpath and path are correct so i'm not sure whats going on.
CLASSPATH: C:\Program Files\Java\jdk1.6.0_16\bin
PATH: C:\Program Files\Java\jdk1.6.0_16\bin
yes, the class has the same name as the file.