To set the TOTALCROSS3_HOME (environment variable that points to the Totalcross SDK) in Eclipse is pretty simple, as you can see below:
- With your Maven project open, you will click on the "Run" option on the top bar of IntelliJ
- Under Download, click "Edit Configurations"
- Click "Templates" and then "Maven"
- Click the "Runner" tab
- Uncheck "Use project settings"
- In the "Environment Variables" option you click on the folder icon
- Click the "+" symbol to the right of the window.
- In the Name field you fill in with "TOTALCROSS3_HOME" and in the Value field you fill in the path to a folder containing the TotalCross SDK, then click "OK" and then "Apply."
{% hint style="warning" %} But it is worth mentioning, if the other steps to implement the files have already been completed (such as a configuration of pom.xml, sdk being installed and etc) you will not be able to get the deploy. {% endhint %}