java.lang.UnsatisfiedLinkError:java.library.path中没有jpeg

时间:2016-02-16 12:44:12

标签: java swing javax.imageio

我们有一个JavaWebStart应用程序,它允许扫描图像并将它们写入文件。一切正常,但今天我有一个客户的例外,我无法理解。

java.lang.UnsatisfiedLinkError: no jpeg in 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 com.sun.imageio.plugins.jpeg.JPEGImageWriter$1.run(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageWriter$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.imageio.plugins.jpeg.JPEGImageWriter.(Unknown Source)
at com.sun.imageio.plugins.jpeg.JPEGImageWriterSpi.createWriterInstance(Unknown Source)
at javax.imageio.spi.ImageWriterSpi.createWriterInstance(Unknown Source)
at javax.imageio.ImageIO$ImageWriterIterator.next(Unknown Source)
at javax.imageio.ImageIO$ImageWriterIterator.next(Unknown Source)
at de.eurodata.commons.scan.domain.ScanUtils.writeImageToFile(ScanUtils.java:81)

此异常发生在Win7 x86上。我使用谷歌搜索了这个例外,但发现只有一些不相关的(Linux,Oracle 9i)或未答复的帖子。

我的问题是:我能预防这个问题吗?可能是ImageIO的另一个纯Java jpeg插件(如果存在且稳定)?

0 个答案:

没有答案