why am i getting this error PLZZZ HELP!!!
Exception in thread "main" java.lang.NoClassDefFoundError: config/java
i'm just started learning Java please help me out

Recommended Answers

All 2 Replies

You are trying to run a program without "main" method. Check your class if it has "main", if yes check your spelling. If your class hasn't got "main" method, does this class is called by another class which has "main"?
If you think my answer was sufficient post the code and we will explain on that code...

You type javac config.java to compile and java config to execute (not java config.java ).

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.