Hai.. i have some problem in java.... I compiled a java code and after that it created a .class file in that directory. As and when i am trying to run that .class using java command , it is giving that No class Def found error... There was no package structure in that prog. Even the simple hello world program is also not working... Sometimes it is working while running in the text pad and at the same time it is not working while running in the command prompt.. can u people suggest solution for this query