Search Results

Search found 1 results on 1 pages for 'kozher'.

Page 1/1 | 1 

  • Java - jar with librairies included

    - by kozher
    I am currently trying to make a Jar with all my librairies included. What I have done. I have created folders like this : - main folder - class (which contain all my classes) - ressources (containing all my librairies : mongo, jedis...) - MANIFEST.MF My main class is named process. My manifest is like this : Main-Class: processEAN Class-Path: ressources\commons-pool-1.5.6.jar ressources\jedis-2.0.0.jar resources\mongo-2.6.3.jar class - I have generated the JAR with this command : jar cvmf MANIFEST.MF processEAN.jar class/*.class ressources/*.jar My problem : When executing the JAR I have still the message "Exception in thread "main" java.lang.NoClassDefFoundError: processEAN" Any ideas ? Thanks

    Read the article

1