Search:

Type: Posts; User: Norm

Search: Search took 0.15 seconds.

  1. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    If you get errors, please post them here.
  2. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    Have you tried executing the java command when you are in the JAVA folder?
    Read post#9 again
  3. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    What folder is the simple.class file in? Use the dir command to show what files are in the current folder.
    If the simple.class file is NOT in your current folder, then the java command will not find...
  4. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    Use the cd command to change directories.
    cd THEDIR
    or cd ..
  5. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    But you are in a different folder, not the one with the simple.class file. Here you are in the Scotty folder:

    Change folders using the cd command to be in the Java folder, not the Scotty folder.
  6. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    Where is the .class file created by the javac command? Is it in the same folder where you executed the java command?
    You told the javac command where the source file was.
Results 1 to 6 of 6