
Error while running hello program in another dir rather in bin. path is already set. java -version jdk1.6.0_24 no error while compilation but @ d tym of runnin error in main class is generated

If there is no error during compilation, it means either you have saved the java file with different name.Check it properly.

I have checked it thrice...but still stk on d same trbl...