# Eclipse

## Configuring Environment Variable in Eclipse

To set the **TOTALCROSS3\_HOME** (environment variable that points to the Totalcross SDK) in Eclipse is pretty simple, as you can see below:

### Step 1: Run Settings

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**";

![1. Run Configurations](https://1879575642-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_mPP3a_E_A7NbRMq7Q%2F-LcBaB2qjs4CKcwultlZ%2F-LcBpJP-wPsrcM_SkU_6%2Frun%20configurations%201.png?alt=media\&token=9857662d-8613-4ff7-9b2d-c8393091d765)

* 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**".

![2. Run Configurations](https://1879575642-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_mPP3a_E_A7NbRMq7Q%2F-LcBaB2qjs4CKcwultlZ%2F-LcBq3TBumW4ZH3kZ0fC%2Frun%20configurations%202.png?alt=media\&token=3583cec8-8b06-4fa8-ab28-45db2a6720a8)

### Step 2: Maven Build

1. Now just go into **Maven Build** and double-click to open a **new configuration**;
2. Click the "**Environment**" tab and click the "**New**" button;
3. 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:

![](https://1879575642-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L_mPP3a_E_A7NbRMq7Q%2F-LcBaB2qjs4CKcwultlZ%2F-LcBrSeajtcxESC8p_AC%2FMaven%20Build%20Configurations.png?alt=media\&token=6493229f-2322-4008-b269-5397a9851958)

{% 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](https://totalcross.gitbook.io/playbook/learn-totalcross/deploy-your-app-android-ios-and-windows).&#x20;
{% endhint %}
