The next version of Eclipse (3.5, due next June) has an option to include all necessary jars. It was introduced in 3.5M5 (thanks, basszero).
Or you can try to build your project with Maven 2. Then, you can build a “fat” jar with mvn assembly:assembly
.
Another option is to use ant. Unpack all JAR files into a temp directory and jar them up again.
Related Contents:
- How to import a jar in Eclipse?
- How to create a jar with external libraries included in Eclipse?
- Eclipse exported Runnable JAR not showing images
- How to change JDK version for an Eclipse project
- Runnable JARs missing Images/Files (Resources)
- Eclipse: How to build an executable jar with external jar?
- Eclipse “Error: Could not find or load main class”
- Access restriction: The type ‘Application’ is not API (restriction on required library rt.jar)
- Eclipse error: “The import XXX cannot be resolved”
- Eclipse: Attach source/javadoc to a library via a local property
- Eclipse is confused by imports (“accessible from more than one module”)
- Cannot find Main Class in File Compiled With Ant
- Build project into a JAR automatically in Eclipse
- Adding 3rd party jars to WEB-INF/lib automatically using Eclipse/Tomcat
- Updating .class file in jar
- Finding unused jars used in an eclipse project
- how to create jar file using eclipse
- I am getting “java.lang.ClassNotFoundException: com.google.gson.Gson” error even though it is defined in my classpath
- “Could not find the main class” error when running jar exported by Eclipse
- How to includes all images in jar file using eclipse
- How to package resources in Jar properly
- Update Eclipse with Android development tools v. 23
- NoClassDefFoundError – Eclipse and Android
- Android ClassNotFoundException: Didn’t find class on path
- Resource leak: ‘in’ is never closed
- How to use JarOutputStream to create a JAR file?
- CreateProcess error=206, The filename or extension is too long when running main() method
- Eclipse returns error message “Java was started but returned exit code = 1”
- how do I get eclipse to use a different compiler version for Java?
- Java creating .jar file
- Run exe which is packaged inside jar file
- Preserving parameter/argument names in compiled Java classes
- Reference jars inside a jar
- “The public type must be defined in its own file” error in Eclipse [duplicate]
- Android Archive Library (aar) vs standard jar
- How to bundle images in jar file
- Java command line with external .jar
- What causes imported Maven project in Eclipse to use Java 1.5 instead of Java 1.6 by default and how can I ensure it doesn’t?
- Python: How can I execute a jar file through a python script
- How can I include external jar on my Netbeans project
- Difference between extracting and packaging libraries into a jar file
- Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) – PhoneGap
- Can values defined in MANIFEST.MF be accessed programmatically?
- ClassNotFoundException/NoClassDefFoundError in my Java web application
- Maven 3.3.1 ECLIPSE: -Dmaven.multiModuleProjectDirectory system propery is not set
- How to locate the Path of the current project directory in Java (IDE)?
- Export PDF pages to a series of images in Java
- Find a jar file given the class name?
- Any way to generate ant build.xml file automatically from Eclipse?
- Passing on command line arguments to runnable JAR [duplicate]