Does jacob support linux?

WBOY
Release: 2022-07-18 11:28:24
Original
3148 people have browsed it

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.

Does jacob support linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

Does jacob support linux?

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

##Class diagram

Does jacob support linux?

Jacob Class Diagram

  • 3. Flowchart

##Excellent Disadvantages

    Advantages
    • Relative to OpenOffice, the conversion effect is good,
    • relatively For POI, you can operate Word/Powerpoint
    • Easy to use, refer to the VBA API to use Jacob to operate COM components
  • Insufficient
    • Slow conversion speed
    • High CPU usage (100% single CPU usage)
    • WORD may deadlock under concurrent conditions (Microsoft Knowledge Base)
    • Word macro security issues
  • Recommended Learn:
Linux Video Tutorial

The above is the detailed content of Does jacob support linux?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!