[RESOLVED] Get MicroEJ architecture version from application

Hi MicroEJ!

I am developing a mono-sandboxed application and I would like to get de MicroEJ Architecture version from my App. Is it possible? And if yes, how to achieve this?

I’ve found that there is an API called Device Device but it seems that the getArchitecture() or getVersion() have a different meaning.

Thanks for your help.


You can have a look to your SOAR Information Files for more details about what is embedded in your application.

You will find Architecture constants in your .loadermap file. These constants start with the com.microej.architecture prefix.

Especially the one you are looking for is com.microej.architecture.version in your case.

In your Java code, you can get it as following:



It works, Thanks Frédéric!