Fat jar Eclipse plug-in [fjep] (http://fjep.sourceforge.net/) is an Eclipse plug-in that applies one-jar (http://one-jar.sourceforge.net/) technology. With fatjar, you can easily publish Java applications and applets.
The following is a tutorial I have written. Thank you for your advice.
1. Introduction
A very simple software packaging solution, which uses Java's custom class loader to dynamically load all classes of the application from a single file, while retaining the structure that supports jar files. With the release of fatjar Eclipse plug-in fjep, eclipse users can create one-jar applications by selecting a check box in the Wizard. The dependent library is put into the LIB/directory, the main program and class are put into main/Main. jar, and the META-INF/manifest. MF file is automatically written.
2.Install
The installation is simple. You only need to put the extracted files in the eclipse directory.
/* Put net. SF. fjep. fatjar_0.0.31.jar In the eclipse/Plugins directory, create a new plugins directory under the Plugins directory, and then put net. SF. fjep. fatjar_0.0.31.jar */
3. Graphic use
I use package my program files as an example.
(1) On the package browser panel, select build fat jar.
(2) Select the main class portal. Note that merge individual-sections of all manifest. MF files is selected.
(3) Select the independent JAR file you want to package. These files will be packaged into the final fat-JAR file.
(4) succeeded.
4. SWT program Packaging
The same step, but at the end of the release, the joint SWT-XXX.DLL can be placed in the same directory.
See http://fjep.sourceforge.net/fjepfaq.html
5. Download
Http://fjep.sourceforge.net/
You can also download my packaged files.
Http://www.blogjava.net/Files/Pudgy/net.sf.fjep.fatjar_0.0.18.rar
Original post address: http://www.blogjava.net/Pudgy/archive/2005/08/22/10727.html