954,523 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

C:\Documents and Settings\jatin\workspace\geogebra\geogebra

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
Light Poster
41 posts since Jun 2009
Reputation Points: 10
Solved Threads: 5
 
but then i did some changes in bin folder


what did you change in there, and what for?

stultuske
Posting Sensei
3,137 posts since Jan 2007
Reputation Points: 1,114
Solved Threads: 433
 

i didnt change much as of such, only there were many .class files in it. i only deleted them but iam afraid that by mistake probably i deleted some other files also. but java file is still there

purijatin
Light Poster
41 posts since Jun 2009
Reputation Points: 10
Solved Threads: 5
 

Remove 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)

peter_budo
Code tags enforcer
Moderator
15,436 posts since Dec 2004
Reputation Points: 2,806
Solved Threads: 902
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You