Generating a Jar in Eclipse including external library

前端 未结 3 891
悲哀的现实
悲哀的现实 2020-12-06 20:59

I have a java application I\'ve written in eclipse. It works fine there.

It works fine run from a command line in the directory where I export it to. In that direc

3条回答
  •  一整个雨季
    2020-12-06 21:36

    Eclipse has its own Jar export wizard for generate a runnable jar packed with required library or with the required library in a folder aside the jar.

    Going in File ---> Export then choose Java - Runnable Jar

    export

    You can then choose how pack the jar and how handling libraries :

    Jar packing

    You can also save the ant script for later modification or use ...

提交回复
热议问题