To set the TOTALCROSS3_HOME (environment variable that points to the Totalcross SDK) in Eclipse is pretty simple, as you can see below:
There are two ways to get to the "Run Configurations" option in Eclipse:
- First, just right-click on your project and go to "run as" and then click "Run Configurations";
- The second way is to click on the green symbol with the white button inside the top bar of the eclipse and then click on "Run Configurations".
- Now just go into Maven Build and double-click to open a new configuration;
- Click the "Environment" tab and click the "New" button;
- In the name write "TOTALCROSS_HOME" and in values put the path to the TotalCross SDK on your machine and then click "OK" and then "Apply.". Look at an image below:
{% 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 %}