1 pièce(s) jointe(s)
[JDIC] Exporter dans un JAR
Bonjour !
J'utilise l'api JDIC, notament pour ouvrir des documents avec l'application associée au type MIME, mais le truc, c'est que ça marche très bien sous Eclipse, mais quand j'exporte au format JAR exécutable (avec Fat Jar, très bon outil soit dit en passant), les jar sont bien détectés, mais j'ai une erreur qui apparait et mon document ne s'ouvre pas :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
|
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no jdic i
n java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.jdesktop.jdic.desktop.internal.impl.GnomeLaunchService.<clinit>(U
nknown Source)
at org.jdesktop.jdic.desktop.internal.impl.ServiceManagerStub.getService
(Unknown Source)
at org.jdesktop.jdic.desktop.internal.ServiceManager.getService(Unknown
Source)
at org.jdesktop.jdic.desktop.Desktop.open(Unknown Source) |
Je ne vois pas en quoi je mérite un UnsatisfiedLinkError ! ;-)
En pièce jointe, une copie d'écran de la phase de création de mon fichier JAR.
Merci beaucoup !