jmagick: new ImageInfo fails on exported jar

Im using JMagick 6.3.9 for resizing and cropping images. When I run the program from within Eclipse it runs fine no problem. However, when I export into a jar file and try running the jar file the program just does not continue when it reaches ImageInfo info = new ImageInfo(targetFile); I get no error messages, no exceptions, no load on the cpu. Nothing.

Any ideas what the issue might be? This happens on both windows and linux (windows being the computer used for developing)

EDIT: There seems to be an issue with finding the dll/so file. I removed the dll from its usual directory. When I execute from within eclipse, I get the same behavior of the program simply refusing to continue without any exceptions etc.

It seems the exported program cannot find the dll in the directory that was specified in the path variable. Am I missing something?

Answers


Need Your Help

Help understanding bad code?

flash actionscript-3 swf-decompiler

A long-long time ago I built a game in AS3. I have since grown unfamiliar with it AND lost the original .fla in a computer crash. I decompiled my .swf and sothink gave me this to work with:

creating comment box; text body does not get forwarded

php html

I am attempting to create a comment section on a website. The page I am using to attempt this is at the necessities only. My problem is that the comment body does not get forwarded to the table I ...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.