Step 1: Setup and create a project
1. Set up the environment
1.1. Download Eclipse
-
Download "Eclipse Modeling Tools" (about 500 MB) from https://www.eclipse.org/downloads/packages/release/2024-06/r/eclipse-modeling-tools.
-
Unpack.
1.2. Install JavaFX
-
Scroll to the 'Downloads' section.
-
Choose 'JavaFX version' = 21.0.2 [LTS] and download the SDK package for your OS.
-
On Windows: unpack the downloaded archive to the 'Program Files/Java' folder. A new folder 'c:\Program Files\Java\javafx-sdk-21.0.2\' should appear.
1.3. Eclipse post-setup steps (do this only once, after Eclipse installation)
-
Start Eclipse.
-
Install 'e(fx)clipse' and 'ResourceBundle editor' via the 'Help → Eclipse Marketplace' Eclipse menu item.
-
Install the 'Amalgama Desktop Application wizard':
-
In Eclipse, go to 'Help' → 'Install New Software…'
-
Put the following URL to the 'Work with' field: https://nexus.am-sim.com/repository/wizard-p2/latest/
-
Install 'Desktop Application Wizard'.
-

Restart Eclipse.
2. Create and run a new project
2.1. Create a project
-
In Eclipse, Choose 'File' → 'New' → 'Amalgama Desktop Application'. A new wizard window opens.
-
Enter the project name (let it be 'Warehouse')
-
Press 'Finish'. A new project has been created and opened in the 'Project Explorer' part.

HINT: If there is no 'Project Explorer' part, then switch to the 'Plug-in Development' perspective via the’Open Perspective' button in the right end of Eclipse’s toolbar.
2.2. Select the active target
-
Open the
releng/com.company.warehouse.target/com.company.warehouse.target.target
file. -
Click 'Set as Active Target Platform' (top-right).
-
Wait till target resolution is complete.
Now the project should compile without issue.
2.3. Update the product
file
Open the releng/com.company.warehouse.product/com.company.warehouse.product
file.
In the 'Launching' → 'win32' tab, use the following line for 'VM arguments' (use the same value you entered in the Window → Preferences window in the JavaFX page):
-Defxclipse.java-modules.dir="C:\Program Files\Java\javafx-sdk-21.0.2\lib"
This is necessary for JavaFX to be available to the application at runtime.