This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Pls help me, so basic question!  RSS feed

 
long sun
Greenhorn
Posts: 18
  • 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
  • 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
  • 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
Boost this thread!