Windows Specifics

If you are using Windows Defender as your default antivirus software, The SDK may be slowed down as it manipulates lots of JAR files (which are ZIP files) that are regularly analyzed.

To improve the SDK experience, please find below a list of folders that should be excluded from Windows Defender monitoring:

  • %USERPROFILE%\.eclipse
  • %USERPROFILE%\.ivy2
  • %USERPROFILE%\.microej
  • %USERPROFILE%\AppData\Local\Temp\microej
  • C:\Program Files\MicroEJ
  • your workspace(s) folder(s)

The exclusion page is available in the Settings application (Windows Security > Virus & threat protection > Manage settings > Exclusions > Add or remove exclusions).

Linux Specifics

Starting the SDK on a linux distribution may produce troubles such as missing content pages. This is related to incomplete Eclipse SWT configuration (see Eclipse GTK wiki page).

One solution is to configure Eclipse as follows:

  • Add the next lines to MicroEJ-SDK.ini, before -vmargs argument:

    --launcher.GTK_Version 2
  • Ensure GTK is correctly installed (libwebkitgtk packet)

  • Configure the following environment variables

  • Restart the SDK

  • Check there is not more SWT/MOZILLA related errors (Window > Show View > Other… > General > Error Log)

MacOS Specifics

When launching the SDK using the .app file, you may encounter the following message:

"MicroEJ-SDK-xx.xx" is damaged and can't be opened. You should move it to the Trash.

This is due to MacOS putting applications in quarantine when downloaded with a browser. Use this command to remove the SDK application from quarantine:

sudo xattr -rd

where is the SDK file name.