Friend, inside the eclipse go top
File/Export/Java/Runnable Jar file

Then, select the launch configuration you use for running the app from the
ide,
the export destination is the name of the executable something like
(~/my_app.jar in linux or c:\some_dir\my_app.jar)
.
The most important part is in the "library handling:" section, You MUST
choose "Extract required libraries into generated JAR".
that option will make Eclipse to create one big jar, including your jars
plus the pivot's jar.

hope this will help

Martin


2011/1/12 Greg Brown <[email protected]>

> > This seems like it must be a pretty elementary question, but what do I
> need to do to make a runnable jar file out of my app?  I'm using Eclipse,
> where my
> > ...
> > What am I missing?
>
> Not sure - I usually use Ant to generate JAR files. Never tried it from
> Eclipse - maybe someone else can offer some insight?
>
>
>

Reply via email to