jacob does not support linux; jacob is the abbreviation of "JAVA-COM Bridge". It is a middleware that can provide automatic access to COM components and "Win32 libraries" under MS systems, and jacob only supports windows. Linux is not supported.
#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.
Jacob now only supports windows, not linux
The jacob package should be for windows if you download it. The file description containing .0s can be used under Linux. However, since
is based on JNI, the system library must be called. How can there be a system library such as word under Linux?
Jacob can only be used in It is used under the windows platform, so you must be clear about this premise before writing a program
Expand knowledge
Jacob Introduction
Jacob It is the abbreviation of JAVA-COM Bridge. It is a middleware that can provide automatic access to COM components and Win32 libraries under MS systems.
COM component provided by MS system
COM component |
Object ID |
MS Word |
Word.Application |
MS Excel |
Excel.Application |
MS Powerpoint |
Powerpoint.Application |
MS IE |
InternetExplore.Application |
Class Diagram
Core Class
JacobObject: Used for COM communication under Java program MS to create a standard API framework
ComThread: Initialize the COM component thread, release the thread, and manage the thread
Dispatch: Scheduling processing class, encapsulates operations to operate Office, and represents different MS level scheduling objects
ActiveXComponent: Create COM components
Variant: Parameters or return values for communication with COM
ROT: Running Object Table (ROT), the running object table maps each thread to all jacobobjects, created in the thread
Core method
Dispatch: The properties or methods of the automation object can be called. For specific properties and methods, please refer to the reference document VBA API
Dispatch.get(dispatch , String name); Get object properties
Dispatch.put(dispatch, String name, Object value); Set object properties
Dispatch. call(dispatch, String name, Object… args); call object method
The above is the detailed content of Does jacob support linux?. For more information, please follow other related articles on the PHP Chinese website!