# Guides

**URL:** https://forum.microej.com/c/guides/9.md

[Latest](https://forum.microej.com/latest.md) · [Categories](https://forum.microej.com/categories.md) · [Tags](https://forum.microej.com/tags.md)

---

## [About the Guides category](https://forum.microej.com/t/about-the-guides-category/195)

<div class="topic-metadata">

**Author:** [@gaetan.harel](https://forum.microej.com/u/gaetan.harel)\
**Replies:** 0

</div>

The Guides category contains every official how-to and tutorials about the MicroEJ Technology. Find here useful information about achieving procedures not describe formally in the documentation.

---

## [5 Minutes to Understand a MicroEJ Application SBOM](https://forum.microej.com/t/5-minutes-to-understand-a-microej-application-sbom/1855)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [October 23, 2026, 6:30am UTC](https://forum.microej.com/t/5-minutes-to-understand-a-microej-application-sbom/1855 "2026-10-23T06:30:36Z")

</div>

Regulations such as the EU Cyber Resilience Act ask device makers to answer a simple question: what software is inside the product, and where does each piece come from? The standard answer is a Software Bill of Materials…

---

## [How to structure a SDK6 project with multiple VEE Port variants](https://forum.microej.com/t/how-to-structure-a-sdk6-project-with-multiple-vee-port-variants/1814)

<div class="topic-metadata">

**Author:** [@closatt](https://forum.microej.com/u/closatt)\
**Replies:** 0\
**Last updated:** [May 21, 2026, 8:49am UTC](https://forum.microej.com/t/how-to-structure-a-sdk6-project-with-multiple-vee-port-variants/1814 "2026-05-21T08:49:03Z")

</div>

This guide explains how to deal with VEE Port variants. You may need this, for example, if you have the same MCU on two different hardware boards. In this example, we consider that we have two i.MXRT1170-EVK boards: one…

---

## [5 minutes to understand VEE Crypto APIs on MicroEJ](https://forum.microej.com/t/5-minutes-to-understand-vee-crypto-apis-on-microej/1824)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [July 6, 2026, 1:24pm UTC](https://forum.microej.com/t/5-minutes-to-understand-vee-crypto-apis-on-microej/1824 "2026-07-06T13:24:16Z")

</div>

Connected devices are no longer trusted just because they sit behind a firewall. A smart meter, a medical wearable or an industrial gateway has to prove who it is, keep its data confidential, detect tampering, and accept…

---

## [Migrating ESP32-S3 VEE Port to ESP-IDF 5.4.x, 5.5.x and 6.0.x](https://forum.microej.com/t/migrating-esp32-s3-vee-port-to-esp-idf-5-4-x-5-5-x-and-6-0-x/1813)

<div class="topic-metadata">

**Author:** [@closatt](https://forum.microej.com/u/closatt)\
**Replies:** 0\
**Last updated:** [May 21, 2026, 8:44am UTC](https://forum.microej.com/t/migrating-esp32-s3-vee-port-to-esp-idf-5-4-x-5-5-x-and-6-0-x/1813 "2026-05-21T08:44:49Z")

</div>

This guide explains how to solve issues when migrating the VEEPort-Espressif-ESP32-S3-DevKitC-1-N8R8 to ESP-IDF versions 5.4.x, 5.5.x and 6.0.x. Since our example on GitHub is compatible with ESP-IDF version 5.0.1, the f…

---

## [5 Minutes to Understand a Kernel](https://forum.microej.com/t/5-minutes-to-understand-a-kernel/1801)

<div class="topic-metadata">

**Author:** [@gaetan.harel](https://forum.microej.com/u/gaetan.harel)\
**Replies:** 0\
**Last updated:** [April 17, 2026, 11:52am UTC](https://forum.microej.com/t/5-minutes-to-understand-a-kernel/1801 "2026-04-17T11:52:21Z")

</div>

Keeping embedded software manageable at scale is no small task. When you manage fleets of products, you have to deal with a growing list of challenges: rebuilding and reflashing loads of targets, monitoring and validat…

---

## [Generating Kernel APIs from a Gradle Task / SDK6](https://forum.microej.com/t/generating-kernel-apis-from-a-gradle-task-sdk6/1692)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [January 15, 2026, 1:53pm UTC](https://forum.microej.com/t/generating-kernel-apis-from-a-gradle-task-sdk6/1692 "2026-01-15T13:53:44Z")

</div>

The Kernel API Generator is a tool that helps to generate a kernel.api file based on a Java classpath: The following guide explains how to run the Kernel API Generator from a custom Gradle task, using MICROEJ SDK6 Ex…

---

## [5 Minutes to understand MicroEJ response to Edge AI developer’s need](https://forum.microej.com/t/5-minutes-to-understand-microej-response-to-edge-ai-developer-s-need/1683)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [December 18, 2025, 9:31am UTC](https://forum.microej.com/t/5-minutes-to-understand-microej-response-to-edge-ai-developer-s-need/1683 "2025-12-18T09:31:14Z")

</div>

5 Minutes to understand MicroEJ response to Edge AI developer’s need Introduction MicroEJ addresses the need for Edge AI and Machine Learning capabilities on resource-constrained microcontrollers and embedded microproces…

---

## [5 Minutes to Understand a Linux VEE Port](https://forum.microej.com/t/5-minutes-to-understand-a-linux-vee-port/1663)

<div class="topic-metadata">

**Author:** [@gaetan.harel](https://forum.microej.com/u/gaetan.harel)\
**Replies:** 0\
**Last updated:** [October 15, 2025, 7:44am UTC](https://forum.microej.com/t/5-minutes-to-understand-a-linux-vee-port/1663 "2025-10-15T07:44:03Z")

</div>

Porting MicroEJ virtualized container to embedded Linux unlocks a flexible, scalable foundation for modern device software. Unlike bare-metal deployments or integration with RTOSes such as FreeRTOS or Zephyr, Linux provi…

---

## [Run Memory Map Analyzer from CLI](https://forum.microej.com/t/run-memory-map-analyzer-from-cli/1613)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [April 15, 2025, 7:26am UTC](https://forum.microej.com/t/run-memory-map-analyzer-from-cli/1613 "2025-04-15T07:26:19Z")

</div>

The Memory Map Analyzer is a tool that allows to visualize the RAM and ROM consumption of an Application developed within MICROEJ SDK. By default, the Memory Map Analyzer runs in Eclipse IDE. A simplified version of…

---

## [License check fail workaround on MicroEJ SDK with JDK version 8u351 / 11.0.17](https://forum.microej.com/t/license-check-fail-workaround-on-microej-sdk-with-jdk-version-8u351-11-0-17/1182)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 1\
**Last updated:** [April 10, 2025, 12:04pm UTC](https://forum.microej.com/t/license-check-fail-workaround-on-microej-sdk-with-jdk-version-8u351-11-0-17/1182 "2025-04-10T12:04:36Z")

</div>

We noticed that the JRE/JDK 8u351 update leads to a MicroEJ SDK license check failure (\[M65\] - License check failed \[tampered (3)\]). The verification of JAR files signed with SHA-1 algorithm fails since JDK version 8u35…

---

## [How to Debug java.net.SocketException: NET-1.1:E=-19 (not enough free memory)](https://forum.microej.com/t/how-to-debug-java-net-socketexception-net-1-1-e-19-not-enough-free-memory/1586)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [February 17, 2025, 3:25pm UTC](https://forum.microej.com/t/how-to-debug-java-net-socketexception-net-1-1-e-19-not-enough-free-memory/1586 "2025-02-17T15:25:35Z")

</div>

This guide outlines a specific approach to debugging a NET error encountered during application development on a VEE Port running the LWIP IP stack. While this is not a universal method, it provides a structured flow th…

---

## [How to Dump VEE Memory from a Running Device using IAR with MICROEJ SDK 5](https://forum.microej.com/t/how-to-dump-vee-memory-from-a-running-device-using-iar-with-microej-sdk-5/1421)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [June 3, 2024, 2:35pm UTC](https://forum.microej.com/t/how-to-dump-vee-memory-from-a-running-device-using-iar-with-microej-sdk-5/1421 "2024-06-03T14:35:49Z")

</div>

The Heap Analyzer is a set of tools to help developers understand the content of the Java heap and find problems such as memory leaks. See Heap Dumper & Heap Analyzer documentation to learn more about Heap tools usage. …

---

## [How-to Obfuscate a Virtual Device Application with ProGuard](https://forum.microej.com/t/how-to-obfuscate-a-virtual-device-application-with-proguard/1363)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 3:20pm UTC](https://forum.microej.com/t/how-to-obfuscate-a-virtual-device-application-with-proguard/1363 "2024-02-16T15:20:41Z")

</div>

ProGuard is an open source command-line tool that shrinks, optimizes and obfuscates Java code. This tutorial describes how to obfuscate the main Application of a Virtual Device. This tutorial has been tested on: MICR…

---

## [MicroEJ Debugging Tools Training](https://forum.microej.com/t/microej-debugging-tools-training/1349)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [January 4, 2024, 10:44am UTC](https://forum.microej.com/t/microej-debugging-tools-training/1349 "2024-01-04T10:44:10Z")

</div>

MICROEJ VEE enables hardware abstraction, which greatly facilitates software development and code portability. Low friction on hardware brings a new debugging paradigm with a separation of concerns: Managed Code execu…

---

## [How to Extract a Resource Into a Dedicated Memory Section](https://forum.microej.com/t/how-to-extract-a-resource-into-a-dedicated-memory-section/1244)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [March 15, 2023, 4:33pm UTC](https://forum.microej.com/t/how-to-extract-a-resource-into-a-dedicated-memory-section/1244 "2023-03-15T16:33:37Z")

</div>

This tutorial is valid for architectures 7.x. By default, all application resources are grouped in a single .rodata.resources section. This tutorial describes how to extract a specific application resource into a custo…

---

## [List all the dependencies used by a module](https://forum.microej.com/t/list-all-the-dependencies-used-by-a-module/1199)

<div class="topic-metadata">

**Author:** [@gjadi](https://forum.microej.com/u/gjadi)\
**Replies:** 0\
**Last updated:** [November 18, 2022, 10:52am UTC](https://forum.microej.com/t/list-all-the-dependencies-used-by-a-module/1199 "2022-11-18T10:52:38Z")

</div>

The module.ivy of a module lists all the dependencies of a module. However, additional modules may be used because they are dependencies of our dependencies. Those dependencies are called transitive dependencies. To lis…

---

## [Restart the application simulator without closing it](https://forum.microej.com/t/restart-the-application-simulator-without-closing-it/1181)

<div class="topic-metadata">

**Author:** [@gjadi](https://forum.microej.com/u/gjadi)\
**Replies:** 0\
**Last updated:** [October 27, 2022, 2:26pm UTC](https://forum.microej.com/t/restart-the-application-simulator-without-closing-it/1181 "2022-10-27T14:26:49Z")

</div>

It is possible to restart the Simulator application that is currently running without having to kill explicitly the running application and start it. In MICROEJ SDK, go to Window \> Preferences \> Run / Debug \> Launching …

---

## [How to customize a Module Repository archive](https://forum.microej.com/t/how-to-customize-a-module-repository-archive/1180)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [October 26, 2022, 10:39am UTC](https://forum.microej.com/t/how-to-customize-a-module-repository-archive/1180 "2022-10-26T10:39:56Z")

</div>

A module repository is a module that bundles a set of modules in a portable ZIP file, see: Module Repository — MicroEJ Documentation. The content of the portable ZIP file can be customized to add files such as a Changel…

---

## [How to add a .jar library to a module project](https://forum.microej.com/t/how-to-add-a-jar-library-to-a-module-project/1179)

<div class="topic-metadata">

**Author:** [@alex.colleux](https://forum.microej.com/u/alex.colleux)\
**Replies:** 0\
**Last updated:** [October 18, 2022, 12:04pm UTC](https://forum.microej.com/t/how-to-add-a-jar-library-to-a-module-project/1179 "2022-10-18T12:04:20Z")

</div>

External .jar libraries can be added to module projects classpath during development phases. The sections below describe how to update the module project. Adding the .jar library to the module project classpath Include…

---

## [How to understand and debug InternalLimitsReached messages](https://forum.microej.com/t/how-to-understand-and-debug-internallimitsreached-messages/426)

<div class="topic-metadata">

**Author:** [@gaetan.harel](https://forum.microej.com/u/gaetan.harel)\
**Replies:** 0\
**Last updated:** [February 22, 2019, 9:47am UTC](https://forum.microej.com/t/how-to-understand-and-debug-internallimitsreached-messages/426 "2019-02-22T09:47:13Z")

</div>

As your MicroEJ application grows in size, a com.is2t.vm.support.InternalLimitsError error may be thrown by the MicroEJ Core Engine. When it is followed with the message Too many alive java threads (\<last thread id\>), y…

---

## [How to create your own MicroEJ platform on a custom board](https://forum.microej.com/t/how-to-create-your-own-microej-platform-on-a-custom-board/48)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [March 8, 2017, 10:06am UTC](https://forum.microej.com/t/how-to-create-your-own-microej-platform-on-a-custom-board/48 "2017-03-08T10:06:44Z")

</div>

Introduction EDIT 18.05.2020: an updated and maintained version of this document can be found here Training Courses — MicroEJ Documentation A MicroEJ architecture is a software package that includes the MicroEJ Runtime …

---

## [Understanding MWT OverlapRenderPolicy](https://forum.microej.com/t/understanding-mwt-overlaprenderpolicy/877)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [June 10, 2021, 8:24am UTC](https://forum.microej.com/t/understanding-mwt-overlaprenderpolicy/877 "2021-06-10T08:24:52Z")

</div>

This post explains the differences between the DefaultRenderPolicy and the OverlapRenderPolicy and how to use it. The documentation says the following about render policy: A render policy is a strategy that MWT uses…

---

## [Web server : Hoka 7.x](https://forum.microej.com/t/web-server-hoka-7-x/679)

<div class="topic-metadata">

**Author:** [@rlouedec](https://forum.microej.com/u/rlouedec)\
**Replies:** 1\
**Last updated:** [March 2, 2020, 9:45am UTC](https://forum.microej.com/t/web-server-hoka-7-x/679 "2020-03-02T09:45:19Z")

</div>

Hello everyone, Hoka 7.1.1 is now available on the central repository. It includes a bunch of changes : The REST-server library is now merged with Hoka and APIs are aligned A set of utility classes to enable authentic…

---

## [Event propagation in Widget 2.x](https://forum.microej.com/t/event-propagation-in-widget-2-x/655)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [January 29, 2020, 3:30pm UTC](https://forum.microej.com/t/event-propagation-in-widget-2-x/655 "2020-01-29T15:30:59Z")

</div>

The MicroUI 2.x events (touch, buttons…) are sent to the application in the same order as they are generated. In MicroUI, events are sent to the controller of the displayable that is shown on the display. In MWT, event…

---

## [MicroUI and multithreading](https://forum.microej.com/t/microui-and-multithreading/652)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [January 28, 2020, 11:10am UTC](https://forum.microej.com/t/microui-and-multithreading/652 "2020-01-28T11:10:29Z")

</div>

When calling MicroUI.start() two threads are started: DisplayPump: this thread is responsible of handling all UI activity such as: managing the events, doing the validation (layout) of the widgets, rendering the widge…

---

## [Widget's class hierarchy](https://forum.microej.com/t/widgets-class-hierarchy/656)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [January 30, 2020, 10:30am UTC](https://forum.microej.com/t/widgets-class-hierarchy/656 "2020-01-30T10:30:20Z")

</div>

StyledWidget and StyledComposite (in ej.library.ui#widget 2.x) have the following class hierarchy. Renderable An object implementing the interface Renderable is an object that is intended to be rendered on the screen…

---

## [How to use AnimationListenerRegistry](https://forum.microej.com/t/how-to-use-animationlistenerregistry/648)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [January 23, 2020, 4:48pm UTC](https://forum.microej.com/t/how-to-use-animationlistenerregistry/648 "2020-01-23T16:48:09Z")

</div>

AnimationListenerRegistry is a class that has been added to Widget library since version 2.2.0. It holds a list of listeners that are notified when animations start and stop. These classes register animations in the Ani…

---

## [How does widget revalidation work?](https://forum.microej.com/t/how-does-widget-revalidation-work/650)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [January 27, 2020, 12:48pm UTC](https://forum.microej.com/t/how-does-widget-revalidation-work/650 "2020-01-27T12:48:24Z")

</div>

The validation lays out the widgets in a hierarchy. It follows these steps: Starting from the panel, each container (Panel, Composite) calls the validate(int, int) method of its children. This method goes recursively i…

---

## [How does showNotify() and hideNotify() work?](https://forum.microej.com/t/how-does-shownotify-and-hidenotify-work/647)

<div class="topic-metadata">

**Author:** [@microej\_official](https://forum.microej.com/u/microej_official)\
**Replies:** 0\
**Last updated:** [January 23, 2020, 2:09pm UTC](https://forum.microej.com/t/how-does-shownotify-and-hidenotify-work/647 "2020-01-23T14:09:24Z")

</div>

showNotify() and hideNotify() functions are defined in MWT 2.x for the interface Renderable. Desktop, Panel, Widget and Composite implement this interface. These functions may be used to register/unregister a Renderabl…

[Next page](https://forum.microej.com/c/guides/9.md?page=1)
