[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Basic Java development question

I have a really basic Java question - I'm building an application using
Eclipse that makes use of a couple of libraries that are located in
external JAR files.  I've added them as external JARs to the Libraries tab
of the Java Build Path, and everything works fine in Eclipse.  My program
compiles and access those libraries as expected.  However, when I export
my project as a JAR file, and try to execute it outside of Eclipse, it
gives me an error telling me that it can't find those libraries.  How
should I proceed?  I can import the source code of those libraries into my
project, and then it works fine during export, but it bloats my code and
is really unncessary as I won't be altering any of that code.  Is there a
better way (i.e. A way to tell Eclipse to include those external JARs in
my JAR during export, or something?)  I would definately appreciate any
guidance, as you have already surmised I am a bit of a beginner at all
this.  Thanks!

Scott