File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Pls help me, so basic question!

 
long sun
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed jdk1.2.2 in Windows2000,it can compile ,but when i run,it gave me an error "Exception in thread "main" java.lang.NoClassDefFoundError:ClassName",i've already try a lot of programms,but the result is the same,i am very confusing,i can not
find the reason ,i'm anscious to hear for someone to help me,thanks!
 
huiying li
Ranch Hand
Posts: 68
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check your classpath to include the current directory
CLASSPATH=.;
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We answered this in Beginner.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic