Java installation problem
Sir, in my machine i compile and run java applications successfully from last few months but few days before i have encountered a problem . After creating any java application i compile it successfully and claa file is created but when i put java Sampleprogramme means want to mark it then it provide this kind of problem
Exception in thread "main" java.lang.NoClassDefFoundError: Sampleprogramme
Caused by: java.lang.ClassNotFoundException: Sampleprogramme
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: Sampleprogramme. Program will exit.
sir , please fix my problem i can not run any java related application in my machine.