Since you mentioned DLLs in the subject, I assume this is Windows. Is the %JAVA_HOME%/jre/bin directory (where jpeg.dll lives) in the PATH?
-----Original Message----- From: Martin Gainty [mailto:mgai...@hotmail.com] Sent: Monday, August 28, 2017 4:25 PM To: users@maven.apache.org Subject: dll hell attempting to call native long initJPEGImageWriter(); in JPEGImageWriter ..when i call initJPEGImageWriter i get: java.lang.UnsatisfiedLinkError: JPEGImageWriter.initJPEGImageWriter() ive read System.loadLibrary("jpeg") in static initialiser is "supposed to load" jpeg library: static { java.security.AccessController.doPrivileged( new java.security.PrivilegedAction<Void>() { public Void run() { System.loadLibrary("jpeg"); } //end run }); //end doPrivileged/PrivilegedAction } //end static is supposed to load library but when i call initJPEGImageWriter i get java.lang.UnsatisfiedLinkError: JPEGImageWriter.initJPEGImageWriter() advice appreciated Martin ______________________________________________ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org