I tried out the two demo codes you mentioned on Win10 64bit platform, and both compile finely without any problem in Modus Toolbox.
Form your attached error log, the path "C:\123\..." looks pretty strange. Can you suggest customer to open and compile the project under the default folder (called 'mtw') for Modus?
If that does not make sense, it might be resolved by reinstalling the Modus IDE with dowmloading a fresh one - https://www.cypress.com/products/modustoolbox-software-environment
we try it on destop folder and C disk folder ,and default folder (called 'mtw') ,the same error happen
customer use ModusToolbox_18.104.22.168-windows-install.exe ,the same version as you provided https://www.cypress.com/products/modustoolbox-software-environment
Just re-install it again with cleaning all original code and files if customer has not done that.
As this issue can not be re-produced on other platform, it might be the lowest-cost method for customer but with most gains.
we also try to reinstall it ,and the same error also exist
This issue has been reported and escalated internally. I will get back to you when any solution profided.
Please try below steps then check if this issue goes away.
1. check if customer has an environment variable set - JAVA_HOME. If so, remove it and check if this issue still there.
2. if issue still there, set that environmrnt variable JAVA_HOME=C:\[your path here]\ModusToolbox_1.1\tools\jre-1.0 fix the issue?
remove the JAVA_HOME enviroment variable is OK