I installed jdk on my system. I set the classpath too. When I tried to run the program its giving NoClassDefFoundError. Its compiling the program and generated the class file. Why the JVM is unable to find out my class file even though it exists? When I type Java at the command prompt I am getting the list of attributes. I verified the class names given in the program and the name of the file. Both are same.
Thank You
Thank You