Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

NoClassDefFoundError

Options
  • 26-01-2005 8:02pm
    #1
    Closed Accounts Posts: 175 ✭✭


    Everytime i try to compile simple java code on my college machine, i get the following error.
    Exception in thread "main" java.lang.NoClassDefFoundError

    I have already compiled a few of the programmes at home and they work grand but this doesnt.

    Has anyone come across this before or should I just reinstall the JVM?


Comments

  • Moderators, Politics Moderators Posts: 39,765 Mod ✭✭✭✭Seth Brundle


    did it compile ok?
    Do other programs compile & run ok?


  • Closed Accounts Posts: 9 leesong


    Are you per-chance using a MS-Box at home and Unix one at college?

    If so check that your JAVA_HOME and CLASSPATH variables are set up correctly.


Advertisement