background image

JAVA 操作 word

Java 操作 Microsoft Word 之 jacob(1)

  jacob.jar: a JAR file for the java classes which you must add to your 
CLASSPATH. The package names replace com.ms with com.jacob (for example 
com.ms.com.Variant maps to com.jacob.com.Variant.

  jacob.dll: a small Win32 DLL which you must add to your PATH.

  samples: provided in Java source and compiled form to demonstrate 
various features of the product. In particular, a set of wrapper classes for 
Microsoft® ADO are provided as samples.

  开发环境:

  JDK 1.6

  MyEclipse Enterprise Workbench Version: 7.0 Milestone-1

  Tomcat 5.5.27

  现在 MyEclipse 中新建一个项目 jacob,将 jacob 的 jar 包放到该项目的类库中。

  我的 jacob 版本是 1.14.3 。