# 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](/files/-LcBpJP-wPsrcM_SkU_6)

* 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](/files/-LcBq3TBumW4ZH3kZ0fC)

### 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:

![](/files/-LcBrSeajtcxESC8p_AC)

{% 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 %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://learn.totalcross.com/master/documentation/guides/package-your-app-from-scratch/environment-configuration/eclipse.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
