Eclipse: Create Runnable .jar WITH manifest possible?

chris

Eclipse allows you to build a runnable .jar, but does not allow you to specify a manifest.mf.

Alternatively, you can create a .jar, and specify a manifest, but it will not be runnable.

How do I build a runnable .jar WITH a manifest. I want to do this so I can have a splash screen.

Edit: The Eclipse jar export options are limited. The real problem I was having was the exported jar, while it specified Main-Class, did not include libraries. To export a jar with a manifest AND libraries, install the Fatjar plugin. http://fjep.sourceforge.net/

Eclipse's built-in "runnable jar export" will include libraries, but not allow one to specify the manifest. And the "export jar" allows one to specify a manifest, but will not package libraries into the jar. Fatjar allows you to do both.

Thomas

Using the normal export will generate a runnable jar as long as the manifest you give it specifies the Main-Class: configuration.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Eclipse export to runnable .jar

From Dev

How do I create a runnable JAR in IntelliJ as I would in Eclipse

From Dev

Exported eclipse runnable .jar will not run

From Dev

OpenCV Exporting Runnable JAR in Eclipse

From Dev

Getting warning message when trying to create a runnable jar file using eclipse

From Dev

how to execute a runnable jar file in eclipse

From Dev

Eclipse exported Runnable JAR not showing images

From Dev

Deploying a runnable jar in ECLIPSE by considering dependencies

From Dev

Exporting Runnable JAR in eclipse with User Libraries included

From Dev

Java eclipse error with exported runnable jar file

From Dev

Is it possible to create object for Runnable interface in java

From Dev

Create runnable jar with maven 3.1 using maven-dependency-plugin doesn't create runnable jar

From Dev

Runnable jar runs too slow compared to eclipse project

From Dev

Java project working on Eclipse but not working when exported to runnable jar file

From Dev

Eclipse's "Export Runnable JAR" and Maven's "package" command

From Dev

How to make the runnable jar file for a maven eclipse project with hibernate configuration

From Dev

Eclipse Java9 Export Runnable JAR file

From Dev

how to make runnable jar for javaCV or openCV project from Eclipse

From Dev

Eclipse not finding main method when trying to export to runnable JAR

From Dev

Java 12 and JavaFX 12 - create runnable jar and custom JRE

From Dev

Maven - Create runnable jar and extract classes from dependent libraries

From Dev

Is it possible to have a jar Manifest to use all jars in a folder

From Dev

Different behavior in JAR file vs Runnable JAR file exported from Eclipse

From Dev

Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

From Dev

Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

From Java

Creating runnable JAR with Gradle

From Dev

Runnable jar not finding libraries

From Dev

Running akka with runnable jar

From Dev

Java creating runnable .jar

Related Related

  1. 1

    Eclipse export to runnable .jar

  2. 2

    How do I create a runnable JAR in IntelliJ as I would in Eclipse

  3. 3

    Exported eclipse runnable .jar will not run

  4. 4

    OpenCV Exporting Runnable JAR in Eclipse

  5. 5

    Getting warning message when trying to create a runnable jar file using eclipse

  6. 6

    how to execute a runnable jar file in eclipse

  7. 7

    Eclipse exported Runnable JAR not showing images

  8. 8

    Deploying a runnable jar in ECLIPSE by considering dependencies

  9. 9

    Exporting Runnable JAR in eclipse with User Libraries included

  10. 10

    Java eclipse error with exported runnable jar file

  11. 11

    Is it possible to create object for Runnable interface in java

  12. 12

    Create runnable jar with maven 3.1 using maven-dependency-plugin doesn't create runnable jar

  13. 13

    Runnable jar runs too slow compared to eclipse project

  14. 14

    Java project working on Eclipse but not working when exported to runnable jar file

  15. 15

    Eclipse's "Export Runnable JAR" and Maven's "package" command

  16. 16

    How to make the runnable jar file for a maven eclipse project with hibernate configuration

  17. 17

    Eclipse Java9 Export Runnable JAR file

  18. 18

    how to make runnable jar for javaCV or openCV project from Eclipse

  19. 19

    Eclipse not finding main method when trying to export to runnable JAR

  20. 20

    Java 12 and JavaFX 12 - create runnable jar and custom JRE

  21. 21

    Maven - Create runnable jar and extract classes from dependent libraries

  22. 22

    Is it possible to have a jar Manifest to use all jars in a folder

  23. 23

    Different behavior in JAR file vs Runnable JAR file exported from Eclipse

  24. 24

    Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

  25. 25

    Google App Engine Eclipse Error: Error opening zip file or JAR manifest missing : /Applications/eclipse

  26. 26

    Creating runnable JAR with Gradle

  27. 27

    Runnable jar not finding libraries

  28. 28

    Running akka with runnable jar

  29. 29

    Java creating runnable .jar

HotTag

Archive