Book a Demo

Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Configuring the MDG Link for Eclipse Add-In using Wine

The MDG Link for Eclipse Add-In is now distributed and installed automatically with the Enterprise Architect installer (as of Enterprise Architect version 12). When running under Wine, MDG Link for Eclipse allows you to link to an instance of Eclipse running natively on the Linux/macOS host. These instructions assume that Eclipse has been set up within the native Linux/macOS environment.

Configure the MDG Link for Eclipse Add-In




To run MDG Link for Eclipse in the native version of Eclipse, Enterprise Architect's plugin jar files must be copied to the plugins directory of the Eclipse installation. Copy the necessary jar files from your Enterprise Architect installation under Wine to your Eclipse installation.

Two sample copy commands are shown here, with the jar file paths corresponding to 64-bit and 32-bit Wine installations respectively. You can copy one of these samples and replace the 'PATH_TO_ECLIPSE_DIR' text with your Eclipse installation path.

  • cp  ~/.wine/drive_c/Program\ Files/Sparx\ Systems/EA/*.jar  PATH_TO_ECLIPSE_DIR/plugins
  • cp  ~/.wine/drive_c/Program\ Files\ \(x86\)/Sparx\ Systems/EA/*.jar  PATH_TO_ECLIPSE_DIR/plugins


Start Eclipse and load the project to link to Enterprise Architect.

Note: We recommend running Eclipse natively due to potential compatibility issues between Java and Wine that can manifest when running Eclipse via Wine.


Start Enterprise Architect (via Wine) and open a project.


Configure the MDG Link for Eclipse connection options by invoking Enterprise Architect's 'Eclipse Options' dialog.

From the ribbon choose:  'Code > Add-Ins > Eclipse> Options'.


Since Windows paths differ from Linux/macOS paths, you need to specify how file paths are handled in the Options dialog, as illustrated.

Replace 'Y:' with the path you use in Wine.


To link to an Eclipse project:

  • Select a Package in Enterprise Architect's Project Browser
  • From the ribbon, choose 'Code > Add-Ins > Eclipse > Connect External Project'

Select the project you opened in Eclipse using the 'Connections' dialog.