Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

why should we get the following error ?
Exception in main method NoClassDefFoundError:classname

could anyone give the detail clarification on how java
compiler can look for .class file?

Answer Posted / narsimharaju

When we compile our java .class file then it is not available then we will get a runtime exception saying
NoClassDefFoundError:classname.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can private class be inherited in java?

1031


Why is String immutable?

1063


What are the advantages of assembly language?

934


How to sort an unsorted array in java?

1134


Why do we need singleton?

968


Define how can we find the actual size of an object on the heap?

1209


What restrictions are placed on method overloading?

1178


How can an object be unreferenced?

1024


How many decimal places is a double?

995


How do you compare two objects?

939


How many bits is a 64 bit byte?

1086


Is string is a data type in java?

1069


Is java jre still free?

958


What is the difference between error and an exception?

1156


What does 3 dots mean in java?

989