java - Use ImageMagick as component without installing -
i developing java application require image conversion , want use imagemagick that.
i made java program using jmagick.jar in classpath , installed imagemagick. program running expected. want pack imagemagick component in application, separate installation should not done.
so copied program files original place somewhere else , uninstall imagemagick. ii gave jvm argument -djava.library.path="f:\\imagemagick-6.3.9-q16\\"
so getting error exception in thread "main":
java.lang.unsatisfiedlinkerror: f:\imagemagick-6.3.9-q16\jmagick.dll: can't find dependent libraries
so please tell me how , give dependent libraries path in program , how use imagemagick without installing. tried searching through web. didn't useful information
rather coping dll files around, use maven manage dependencies. project has dependency of jmagick; in turn, has prequisite of imagemagick (see section 0 in jmagick install document.)
how use imagemagick without installing
you can not. system running application need have imagemagick libraries, headers, , delegates satisfy jmagick.
ideally project should included installation script checks system dependencies, , respects environment variables may defined system administrator. see imagemagick hints details can influence installation.
Comments
Post a Comment