Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RE : Java Beginner

 
Jitty
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like help from all the Java Gurus out there.
Recently , I tried to run my java code and though it compiles fine when running it gives me an error saying "Exception in thread "main" java.lang.NoClassDefFoundError: Hello...
I have checked my path and it is correct and actually I had not done anything to the computer before and it was running before. I wonder if ther is anything that I had missed out or if I am over looking something.
PLEASE HELP...THANKS TO EVERYONE
 
Sanjay Balu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jitty,
set your classpath to the current directory,where your java class file is.
set classpath=%classpath%;.;
ok
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic