JACOB - Java COM Bridge JACOB is a JAVA-COM Bridge that allows you to call COM Automation components from Java. It uses JNI to make native calls to the COM libraries. JACOB runs on x86 and x64 environments supporting 32 bit and 64 bit JVMs
jacob-1.15-M4-x64.dll jacob-1.15-M4-x86.dll 可以先装word试一下,如果是版本问题可以再下载,此包包含两个版本的包,注意版本。 java中: com.jacob.com.ComFailException: Can't get object clsid from progid 以及 Can't get object clsid from progid 这两个异常都需要解决。