Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Recongnition of Classes

 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Right... so i installed java on my new computer the same as i'd done it on the about 8 other computers i'd done so on... Programs created on this computer will compile fine, but when i try to run said programs, i am informed of a NoClassDefFoundError. As best as i can hypothesize, my computer is(for some reason) not recongnizing class files. further supporting this hypothesis is the fact that when i try to access a method from another (already compiled) class, the program will not compile as it does not recongnize any outside class to draw the method from. So, as i see it, .class files are somehow invisible to the computer. Any time i try to access a class, be it "java _" or using a method from a class, it draws up blanks...
I'm at about my wit's end...
Thanks,
Nick
 
Bartender
Posts: 9626
16
Mac OS X Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check your classpath
 
reply
    Bookmark Topic Watch Topic
  • New Topic