Search:

Type: Posts; User: Norm

Search: Search took 0.13 seconds.

  1. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    I found a 1.5 version of the java.exe file. The error message is the same as what the OP sees.

    Uninstall the 1.5 and install a 1.6
  2. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    If you see 6.0.260.3 in the system32 folder, where did the above output come from?
    Do you get a different response for java vs java.exe?
  3. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    This shows something. The message is different for my using 1.4 vs his 1.5
  4. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    The JRE install was different. On Windows the java.exe command is copied to the C:\WINDOWS\system32\ folder, which is on the PATH. Also there are registry entries that point to stuff.
    Look in the...
  5. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    What is the name of the file containing the source?
    It should be apples.java
  6. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    Is the apples class defined in the youtube.java file?
    Normally the file names of the .java and the .class files are the same.
  7. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    The OS is finding the javac and java commands.
    Your last post shows that the java command found a problem with the .class file.
  8. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    Now the java.exe command found the .class file.
    It looks like the java.exe command is an older version of java than the java command that created the .class file.
    Or the .class file is corrupted....
  9. Re: Exception in thread "main" java.lang.NoClassDefFoundError

    That doesn't make any sense.
    There is a java command.
    There is an apples.class file.

    It's like there is a batch file named java.bat that is sidetracking the attempt to execute the real...
Results 1 to 9 of 9