1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

java not compiling :(

Discussion in 'HTML, Graphics & Programming' started by daven1986, 4 Feb 2006.

  1. daven1986


    Joined: 29 Oct 2005

    Posts: 3,310

    ok guys, my file structure is:

    when I try and compile paper and turtle from the command line it works fine. When I compile TurtleInterpreter from JCreator it works fine. However I need to use input redirection - therefore need to use the command line java.exe. But when I do this I get:

    exception in "main" java.lang.NoClassDefFoundError: TurtleInterpreter.

    I am running the java.exe from the / directory. I also get this error when I try and run the program with Borland java compiler. When I try and use javac.exe to compile it from the command line I get loads of errors saying it cannot find the classes, or the package turtleSupport.

    I have only just started learning java and I dunno what to do!!

    Please help