Enter the terminal, prepare an empty directory, and execute the following command to download xworker.jar.
# wget https://www.xworker.org/files/xworker.jar
Use the following command to execute xworker.jar. After execution, you will automatically download the XWorker and generate the setup script.
# java -jar xworker.jar
Executing the following script to set up environment variables and file associations may require root permissions.
# sudo ./setupenv.sh
The following script can update the XWorker to the latest version.
Save the SwtHelloWorld.dm as SwtHelloWorld.dml, double-click the file SwtHelloWorld.dml, and open the window below to indicate that the installation is successful.
XWorker uses SWT to write the interface. If you have problems with SWT, please refer to https://www.eclipse.org/swt/faq.php.
If you need to modify the startup parameters of xworker, you can edit the dml.conf.sh file.
Enter the terminal and execute the following command to test it.
# wget http://www.xworker.org/files/HelloWorld.dml # dml.sh HelloWorld.dml
If the 'XWorker say hello world! " is displayed in the console, it indicates that the installation is successful.