Exception in thread "main" java.lang.NoClassDefFoundError

hi,

i am very much frustrated due to this problem.when i try to run any java program from command line i'm getting this same error.and these programs worked perfect in my friends pc.earlier i used netbeans IDE then these programs worked well.but now due to some problems now i'm getting the error. fatal error:java.lang not found.

anyone who knows the remedy plz do reply soon

[397 byte] By [ajesha] at [2007-10-1 8:19:59]
# 1

sounds to me like youre using a linux box with an incorrectly installed (or no) jvm because that error happens when you try to run java programs using gjc i think it was which doesnt come with the standard libraries and will therefore complain that it cant find them now if you had used some proper interpunction and stuff in your question i might have done the same in my ramblings in response to it making it all so much easier to read

jwentinga at 2007-7-9 21:32:28 > top of Java-index,Developer Tools,Java Compiler...