Search:

Type: Posts; User: Scotty

Search: Search took 0.11 seconds.

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

    Fixed it xD. It still ignores one of my directorys though....
  2. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    simple.class is in D:\JAVA

    (D:\JAVA\simple.class)
  3. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    Sorry!

    C:\Users\Scotty>cd D:\JAVA

    C:\Users\Scotty>javac simple.java
    javac: file not found: simple.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    ...
  4. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    I see what you mean, but I cannot get it to change directory. Can you give me an example? I am obliviously doing something wrong.
  5. Re: Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    Yes it is in the same folder. I have also tried just


    C:\Users\Scotty>javac D:\JAVA\simple.java

    C:\Users\Scotty>java simple
    Exception in thread "main" java.lang.NoClassDefFoundError: simple...
  6. Exception in thread "main" java.lang.NoClassDefFoundError: simple (Newbie)

    Hiya, I am very new to all programming. Can anyone tell me why the below will not run? I have set the classpath in control panel and have tried setting it first in command prompt. Its probably...
Results 1 to 6 of 6