Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deploying a java application (maybe as a *.jar?) 1

Status
Not open for further replies.

biot023

Programmer
Nov 8, 2001
403
GB
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...
 
Cheers, man -- that's perfect!
doug.

If I had a hammer...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top