• Post Reply Bookmark Topic Watch Topic
  • New Topic

Running a java program with swing componets  RSS feed

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just downloaded jdk1.3.I tried a few programs with swing components.They get compiled correctly.But when i try to run them
i get error 'Exception in thread main java.lang.NoClassDefFound error. I tried it with many programs including the example programs fron sun site.Please help
 
deekasha gunwant
Ranch Hand
Posts: 396
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi priya,
just make sure ur classpath is set properly.& if there is any package involved.
ifpossible do post ur directory structure .
regards
deekasha
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!