Java Jacob call error: Java. Library. Path solves About Java's configuration of using Jacob. jar to call Word
Recently, Jacob. jar was used to convert the Word file. Some problems are related to the configuration. First, I will describe some configurations for your reference.
I. Add Jacob. copy the DLL to Windows/system32 and add Jacob in the deployment environment. jar package. The versions of these two files must be consistent. Otherwise, some errors may occur. If multiple applications need to change the package, it is best to put it in the public package directory because some errors may occur.
2. If the package cannot be correctly used through the above configuration. DLL is placed in the Java/JDK/JRE/bin directory. If it is not a web application. place the DLL in the Java/JDK/JRE/lib/EXT directory.
If the error "No Jacob in the Java. Library. Path" still persists, Put Jacob. dll in the directory obtained by system. getproperty ("Java. Library. Path.