LogoLogo
v7.0.0
v7.0.0
  • TotalCross Overview
  • TotalCross Javadoc
  • TotalCross Changelog
  • Roadmap
  • Documentation
    • Getting Started
      • First embedded project with TotalCross
    • Components
      • Accordion
      • Aligned Labels
      • Button
      • Check
      • ComboBox
      • Dynamic Scroll
      • Edit
      • Floating Button
      • Gpiod
      • Grid
      • GridContainer
      • Image
      • ImageControl
      • ImageList
      • Label
      • Material Icons
      • Material Window
      • MessageBox
      • Multi Edit
      • Progress Bar
      • Progress Box
      • Radio
      • Radio Group
      • Scroll Container
      • Side Menu
      • Slider
      • Sliding Window
      • Spin List
      • Spinner
      • Switch
      • Tabbed Container
      • Velocimeter
    • APIs
      • API Overview
      • API Rest
      • Asynchronous Task
      • Camera
      • Control
        • Main Window
        • Window
        • Container
      • GPS
      • HTTPS and SSL
      • JSON
      • Maps
        • Maps - Deprecated
        • Static Map
      • Material Design Standards
      • Ninepath
      • Notifications
      • PrinterManager
      • Push Notification Firebase
      • Scanner
      • SOAP
      • Socket
      • SocketServer
      • SQLite Encryption
      • QR Code Generator
      • totalcross.sys
      • Youtube API
    • Creating an Issue
    • Contributing
      • Branch workflow
      • Writing documentation
    • Guides
      • App Architecture
        • Suggested Architecture
        • Why do Design Patterns help with the application's organization?
          • MVC Architecture Pattern
          • Template Pattern
          • Data Persistence: DAO Pattern.
        • Separation of concepts: What is the best way to create UI interfaces?
        • Positioning
          • Manual Positioning
        • Relative Positioning
        • Best practices to improve project maintenance
      • Device Simulator
      • Package your app from scratch
        • TotalCross SDK
        • Environment Variables in IDE
          • Eclipse
          • IntelliJ
        • Deploy your app with a dependecy TC
        • Deploy iOS
          • Using Development certificate to test your apps
      • Understanding TotalCross for Linux ARM
      • Running C++ applications with TotalCross
      • Web Services
    • Miscelaneous
      • Java JDK 8
      • Maven
      • Installing Visual Studio Code
    • FAQ
      • IMEI in Android 10
Powered by GitBook
On this page
  • Configuring Environment Variable in IntelliJ
  • Step 1: Run Settings
  • Step 2: Maven Configuration

Was this helpful?

  1. Documentation
  2. Guides
  3. Package your app from scratch
  4. Environment Variables in IDE

IntelliJ

PreviousEclipseNextDeploy your app with a dependecy TC

Last updated 6 years ago

Was this helpful?

Configuring Environment Variable in IntelliJ

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

  1. With your Maven project open, you will click on the "Run" option on the top bar of IntelliJ

  2. Under Download, click "Edit Configurations"

  3. Click "Templates" and then "Maven"

Step 2: Maven Configuration

  1. Click the "Runner" tab

  2. Uncheck "Use project settings"

  3. In the "Environment Variables" option you click on the folder icon

  4. Click the "+" symbol to the right of the window.

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

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
Templates > Maven > Runner > Enviroment Variables > + >