文件名称:jacob.jar1.19及使用方法
文件大小:463KB
文件格式:ZIP
更新时间:2022-01-26 11:16:52
jacob.jar jacob.jar1.1 jacob jacob使用
jacob.jar1.19及使用方法
解压后获得3个文件
jacob.jar
jacob-1.17-x64.dll
jacob-1.17-x86.dll
jacob.jar 放到项目的lib目录
win7
jacob-1.17-x64.dll 放到C:\Windows\System32
jacob-1.17-x86.dll 放到C:\Windows\SysWOW64
win7就是这么设计的, System32放64位dll,SysWOW64放32位dll,是不是很诡异。
还要注意的是,32位JDK只能加载32位DLL,64位JDK只能加载64位DLL,不能互相兼容。
还可以把jacob-1.17-x86.dll 放到jdk/jre/bin下,我选的这个
若找不到jacob.dll,会报如下错误
Exception in thread "main" java.lang.UnsatisfiedLinkError: no jacob-1.17-x86 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at com.jacob.com.LibraryLoader.loadJacobLibrary(LibraryLoader.java:184)
at com.jacob.com.JacobObject.
【文件预览】:
jacob-1.19
----说明.txt(1KB)
----jacob.jar(48KB)
----jacob-1.19-x64.dll(201KB)
----LICENSE.TXT(26KB)
----docs()
--------UsingJacob.html(12KB)
--------ReleaseNotes.html(51KB)
--------BuildingJacobFromSource.html(9KB)
--------api()
--------EventCallbacks.html(7KB)
--------JacobComLifetime.html(3KB)
--------JacobThreading.html(14KB)
----jacob-1.19-x86.dll(164KB)