# Kernel.api file generation

**URL:** <https://forum.microej.com/t/kernel-api-file-generation/678>\
**Category:** Technical Support\
**Created:** [February 25, 2020, 1:21pm UTC](https://forum.microej.com/t/kernel-api-file-generation/678 "2020-02-25T13:21:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![william.b](https://forum.microej.com/letter_avatar_proxy/v4/letter/w/9de0a6/32.png) [@william.b](https://forum.microej.com/u/william.b)\
**Post date:** [February 25, 2020, 1:21pm UTC](https://forum.microej.com/t/kernel-api-file-generation/678/1 "2020-02-25T13:21:22Z")

</div>

HI,  
is there a simple way to generate a kernel.api file ?  
BR,

---

<div class="post-metadata">

**Author:** ![rlouedec](https://forum.microej.com/user_avatar/forum.microej.com/rlouedec/32/160_2.png) [@rlouedec](https://forum.microej.com/u/rlouedec)\
**Post date:** [February 25, 2020, 1:44pm UTC](https://forum.microej.com/t/kernel-api-file-generation/678/2 "2020-02-25T13:44:40Z")

</div>

Hi William,

Actually, there is a MicroEJ tool for this task : the Kernel API Generator.

In MicroEJ SDK :

1. Create a new **MicroEJ tool** launch in Run \> Run Configurations.
2. Pick any platform
3. Select **Kernel API Generator** in the execution settings.
4. In the configuration tab, add the class folders / jars of the API which you want to make a Feature of.
5. Run

A kernel.api file will be created in the output folder.

Best regards,  
Rémy

---

<div class="post-metadata">

**Author:** ![william.b](https://forum.microej.com/letter_avatar_proxy/v4/letter/w/9de0a6/32.png) [@william.b](https://forum.microej.com/u/william.b)\
**Post date:** [February 26, 2020, 5:52am UTC](https://forum.microej.com/t/kernel-api-file-generation/678/3 "2020-02-26T05:52:40Z")

</div>

Perfect! 👌  
Thanks !!  
W.
