Install XWorker

1. Quickly install XWorker

    Choose to download any of the following XWorker versions of jar and save them to a directory.

  Execute java -jar xworker-x.x.x.jar in the system console, and you will enter the following interface.

    Enter the number to select the required XWorker version. These versions mainly have different imported class libraries.

  1. swt
    Contains the basic model library, as well as the SWT-based model manager and WEB server.
  2. explorer
    Contains most of the XWorker model libraries. Because OpenCV and other libraries are introduced, the volume will be very large.
  3. web
    Basically the same as swt, including the RAP model, you can run the SWT-based model editor on the web page.   

    After entering the selection, a pom.xml file will be created first, then the dependency library will be downloaded through Maven, and finally the initialization will be executed. The above execution time will be relatively long, please wait patiently. After successful execution, you can see that dml.cmd or dml.sh, swt.cmd or swt.sh and other files are generated in the directory. You need to run java -jar xworker-x.x.x.jar again for the first time so that the index can be created correctly. If you need to update the dependency later, you can execute java -jar xworker-x.x.x.jar again.

    Run swt.cmd or swt.sh to open the model editor. If the model editor can be opened, it means that XWorker has been installed.

 

2. Download XWorker

    Below are some pre-packaged swt versions, which can save the dependent download process. After downloading, unzip it to a directory and execute java -jar xworker-2.0.4-SNAPSHOT.jar to initialize XWorker.

    Java11:

  Java17:

 

Copyright ©  2007-2019 XWorker.org  版权所有  沪ICP备08000575号