日期:2014-05-20  浏览次数:20798 次

jacob问题
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.5.0\jre\bin\jacob-1.14.1-x86.dll: ??????ó??ò???ò????????ó??òδ???????????°????ó??ò????~??????????
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:184)
at com.jacob.com.JacobObject.<clinit>(JacobObject.java:108)
at com.zf.jacob.word.WordReader.extractDoc(WordReader.java:20)
at com.zf.jacob.word.WordReader.main(WordReader.java:60)

C:\Program Files\Java\jdk1.5.0\jre\bin下有jacob-1.14.1-x86 .dll 把名字改掉jacobx86 .dll 就报错

Exception in thread "main" java.lang.UnsatisfiedLinkError: no jacob-1.14.1-x86 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:184)
at com.jacob.com.JacobObject.<clinit>(JacobObject.java:108)
at com.zf.jacob.word.WordReader.extractDoc(WordReader.java:20)
at com.zf.jacob.word.WordReader.main(WordReader.java:60)



------解决方案--------------------