javascript
Brief description  about Online courses   join in Online courses
View Bikram Ballav  The Indian Student 's Profile

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.
Asked by Bikram Ballav The Indian Student | Feb 18, 2011 |  Reply now
Replies (1)
View arun kumar das 's Profile
HI

you need to check your program as well as your system JDK setting.

java teacher
Feb 22, 2011