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:[email protected]] Sent: Monday, August 28, 2017 4:25 PM To: [email protected] 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: [email protected] For additional commands, e-mail: [email protected]
