Prepare an empty directory, do not contain special symbols such as Chinese or space, and save xworker.jar to that directory.
Execute xworker.jar under the console.
java -jar xworker.jar
XWorker will be downloaded automatically after execution, and an environment setup script setupevn.cmd will be created.
Setupenv.cmd is executed as an administrator. Setupenv.cmd will set up XWorker related environment variables and file associations (*.dml and *.dmw).
The following script can update the XWorker to the latest version.
update.cmd
Save SwtHelloWorld.dml in a directory and double click it to execute it. If the following window appears, it indicates that the installation is successful.
If you cannot execute SwtHelloWorld.dml, you can follow the manual Settings Wizard below.
Add the directory of XWorker to the environment variable PATH of the system, see https://www.java.com/zh_CN/download/help/path.xml。
After xworker updates, there will be a dml.cmd and dml.sh file in the directory. It is the program that executes the model, and if the *.dml file is associated with a dml.cmd or dml.sh file, the *.dml model program can be executed directly.
Select a.Dml file under Windows, then right click menu, choose open mode > select other applications.
In the pop-up window: always use this application to open the.Dml file and click on the computer to find other applications.
Enter the installation directory of XWorker, select dml.cmd, and finally click the open button to complete the file association.
Copyright © 2007-2019 XWorker.org 版权所有 沪ICP备08000575号