> For the complete documentation index, see [llms.txt](https://learn.totalcross.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.totalcross.com/documentation/guides/package-your-app-from-scratch/environment-configuration/eclipse.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
