Running Cangjie Executable Programs
Running Directly
Linux / macOS
-
Deploy the runtime libraries by referring to Deploying the Cangjie Runtime.
-
Copy the compiled executable file
mainto the operating environment and run the executable file../mainNote that the executable file
maincompiled usingcjpmis stored in thetarget/release/bindirectory.
Windows
-
Deploy the runtime libraries by referring to Deploying the Cangjie Runtime.
-
Copy the compiled executable file
main.exeto the operating environment and run the executable file..\main.exeNote that the executable file
main.execompiled usingcjpmis stored in thetarget\release\bindirectory.
Running with cjpm
Developers often use cjpm to manage, compile, and run Cangjie projects.
Developers can install the complete Cangjie toolchain in the operating environment by referring to Installing the Cangjie Toolchain. After the installation is complete, copy the entire Cangjie project to the operating environment and execute the cjpm run command to run the Cangjie project.