You can try FatJar:

http://fjep.sourceforge.net/
It will pack all your dependencies into the sinle fat jar (hence the name).
As far as I know, it must be used from Eclipse, but I am not really sure
here.

I use it sometimes to create demo or test app.

After you get your_jar.jar, you can run it like this:
java -jar your_jar.jar

Good luck,
Sergey

On 9/8/2010 5:22 AM, Adnila wrote:
>  hey guys,
>
>  I have a problem. I need to build a runnable jar file from an application. I
>  am using many libraries from third parties in the application including
>  geotools. But if I am trying to build a Fat jar (with the eclipse plugin) it
>  does not work.  The build is okay, but if I am trying to run the app it does
>  not work. Is there something special with the geotools jars? As a note: I am
>  not working with maven, just with eclipse.
>
>  What am I supposed to do? Is there a tutorial or something like this? I am
>  already running out of time for finishing my application.
>
>  Help!!!
>
>  Thanks. Linda
>



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to