Iam unable to run programs from command prompt, my environment variables are correct. When i type javac on command prompt ,it gives the correct data ie possible outputs. When i type java it again responds as it should. But if i run a program say:
java practice
then it gives java.lang.NoClassDefFound Error , it used to work perfectly fine before, but then i did some changes in bin folder, iam completely helpless tried almost everything, but still isnt working. When i point the same jdk in eclipse/netbeans it works fine
pl help
purijatin
0
Light Poster
Recommended Answers
Jump to PostRemove this installation and replace it with new one, check your path etc. And remember in the future to not mess it with it, even if it suggest you should place library there (often example of old database connector tips)
All 3 Replies
stultuske
1,116
Posting Maven
Featured Poster
purijatin
0
Light Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
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.