Your problem is probably because you’re trying to run the HelloWorld application (which is a standalone application) on a Multi Sandbox platform.
To run this application on your platform, you can:
- create a new MicroEJ Sandboxed Application Project,
- move the files of the HelloWorld application from the old project to the new one (.java files and
all the resources packages),
- add the line
<dependency org="ej.api" name="microui" rev="[2.0.0-RC0,3.0.0-RC0[" conf="provided->*" />on the module.ivy of the new application right after the line
<dependency org="ej.api" name="edc" rev="[1.2.0-RC0,2.0.0-RC0[" conf="provided->*" />:
Now, try to run the application by right clicking on it and click on
Run as -> MicroEj Application.
HelloWorld - com.microej.example.hello and click on
Then select your platform and click on
For your future projects, you can look at https://github.com/MicroEJ/How-To/tree/master/StandaloneToSandboxed to convert any MicroEJ Standalone application to a MicroEJ Sandboxed application.
Florian for MicroEJ.