problem running an application from command line

From: Joan (joan48105_at_yahoo.com)
Date: 01/27/04


Date: 27 Jan 2004 08:34:20 -0800

I have a .java file created using JCreator LE. I am able to compile
and run it from JCreator LE. But When I tried to do the same thing
from command line, I am able to compile it but got
"java.lang.NoClassDefFoundError" when I tried to run it (and it seems
that it doesn't matter which directory I am in).

Any idea why this is happening?

Thanks for your help.

Joan



Relevant Pages

  • Re: problem running an application from command line
    ... >> and run it from JCreator LE. ... >> from command line, I am able to compile it but got ... > Where are your source files? ...
    (comp.lang.java.help)
  • Re: invalid path help....
    ... and I cant seem to compile anything ... > I created the file under d drive and have public class filename... ... I don't use JCreator myself, ... so the class name should be E23 instead of e23... ...
    (comp.lang.java.help)
  • Re: problem running an application from command line
    ... Joan wrote: ... > I have a .java file created using JCreator LE. ... I am able to compile it but got ...
    (comp.lang.java.help)
  • JCreator cant compile my code.
    ... When I compile my codes in JCreator,it keeps coming up with this error: ... But how can I compile my code in JCreator? ... this is my classpass in my pc: ...
    (comp.lang.java.programmer)
  • Re: How to start compiling a big package directory tree ?
    ... which are located in different sub directories according to their package name. ... Unfortunately no further instructions (e.g. Ant script) are available. ... For example I found a "main" method in java file SomeGUI.java ... Search for all you need and compile all necessary classes in the sequence you need". ...
    (comp.lang.java.help)