Hallo -- I've written a small Java application which runs fine from the IDE (Eclipse), but which I can't run from the command line.
The error I get is this:
Exception in thread "main" java.lang.NoClassDefFoundError: DirFlattener (wrong name: dirflat/DirFlattener)
Could this be because I shouldn't have put my main class in a package? Should maybe the application class be in the default package?
& how do you normally deploy a java application? Making it into a *.jar file? Does anyone have any links to tutorials or FAQs about this?
Thanks alot,
doug.
If I had a hammer...
The error I get is this:
Exception in thread "main" java.lang.NoClassDefFoundError: DirFlattener (wrong name: dirflat/DirFlattener)
Could this be because I shouldn't have put my main class in a package? Should maybe the application class be in the default package?
& how do you normally deploy a java application? Making it into a *.jar file? Does anyone have any links to tutorials or FAQs about this?
Thanks alot,
doug.
If I had a hammer...