getting error: java.lang.NoClassDefFoundError

From: NathanK (me_at_me.com)
Date: 03/02/04


Date: Wed, 03 Mar 2004 07:44:08 +1100

Hi Guys,

im starting out in java and i'm getting the error: Exception in thread
"main" java.lang.NoClassDefFoundError: blurf

if i run "javac blurf.java", it compiles fine and without any troubles.

when i try to run it (its a simple hello world program) i get the above
error.

i need some help :)

-nat



Relevant Pages

  • getting error: java.lang.NoClassDefFoundError
    ... im starting out in java and i'm getting the error: Exception in thread ... "main" java.lang.NoClassDefFoundError: blurf ... if i run "javac blurf.java", it compiles fine and without any troubles. ...
    (comp.lang.java.programmer)
  • Re: templated SinglyLinkedList implementation
    ... > compiles as is but when I display the output, all of the values are the same ... > const unsigned int NUMELEMS; ... useful for exception safety and pretty much nothing else. ... when you make a copy of an auto_ptr, the source is rendered useless. ...
    (alt.comp.lang.learn.c-cpp)
  • Re: Problems supporting Windows XP themes
    ... The program worked for 3 compiles and then after the 4th compile it failed again. ... Here is the stack trace. ... is it from an exception? ...
    (microsoft.public.dotnet.framework)
  • Re: inconsistent compiler behavior with generics example
    ... and it both compiles and runs in Eclipse, ... But it fails to compile through either javac ... You cannot declare an array of genericized type, ...
    (comp.lang.java.programmer)
  • Re: Compiling Java code within a C# made program,,,,,
    ... look at the options around process.start - javac is just another exe and you ... > our application to write some Java code in one of our app's winform called ... > What I would like to do is to have a button that compiles that code and if ...
    (microsoft.public.dotnet.languages.csharp)