• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

While running any java class in eclipse then getting error.

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
While running any java class in eclipse then getting error
java.lang.NoClassDefFoundError: ListInterface(package Name)/MyLinkedList(class Name)
Exception in thread "main"

I also checked the classpath variables through windows-->preferences-->Java-->Build Path--> Classpath Variables,but getting JRE_SRC and JRE_SRCRoot variable showing empty.
So i need to do something with these variable???

please help me to sort it out this issue.

Thanks,
Shyam
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sam, welcome to Java Ranch!

MyLinkedList must be one of your classes. Please post the source for the class (actually, i am interested only in the package statements and the class declaration). Also, post the full path to this java source file within your project. At this time I suspect that there is a mismatch between the package statement and the file location.
 
World domination requires a hollowed out volcano with good submarine access. Tiny ads are optional.
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic