|
Running file that includes files from a jar works on Eclipse, not cmd
My program is including files from a jar file (imported by using Eclipse). I compiled my program, and everything was fine (in both Eclipse and command line). When I ran the program with Eclipse, everything I expected to happen occurred.
Unfortunately, when I tried to run my program using command line:
java myProg FooBarBaz
I get an error saying that a class my program is using (from the jar file) is not found. What is Eclipse doing so that it my program can run (or to be exact, how can I find out what Eclipse is doing to run my program)?
|