# How can I create a new project that can run?

**URL:** <https://forum.microej.com/t/how-can-i-create-a-new-project-that-can-run/1216>\
**Category:** Technical Support\
**Tags:** sdk\
**Created:** [January 10, 2023, 3:02am UTC](https://forum.microej.com/t/how-can-i-create-a-new-project-that-can-run/1216 "2023-01-10T03:02:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yuelan.huang](https://forum.microej.com/letter_avatar_proxy/v4/letter/y/7cd45c/32.png) [@yuelan.huang](https://forum.microej.com/u/yuelan.huang)\
**Post date:** [January 10, 2023, 3:02am UTC](https://forum.microej.com/t/how-can-i-create-a-new-project-that-can-run/1216/1 "2023-01-10T03:02:32Z")

</div>

hello,  
I created a project using the SDK, but when I select run as \> run microej aoolication it show like this

 ![image](https://forum.microej.com/uploads/default/original/1X/0bd2ea260b3018dbadbcb0e78b1887d24ce77f84.png)  
.I want to know ,if I want to write a notification interface and dial on the watch to determine what project I should create and what environment I need.

---

<div class="post-metadata">

**Author:** ![alexis.pineau](https://forum.microej.com/user_avatar/forum.microej.com/alexis.pineau/32/194_2.png) [@alexis.pineau](https://forum.microej.com/u/alexis.pineau)\
**Post date:** [January 10, 2023, 9:49am UTC](https://forum.microej.com/t/how-can-i-create-a-new-project-that-can-run/1216/2 "2023-01-10T09:49:58Z")

</div>

Hello @yuelan.huang

You get this error because the class defined in your launcher does not contain a main method.

In _Run \> Run Configurations…_, in your Application’s launcher _Main_ tab you should set the _Main type_ to the Java class that contains you main method.

 ![image](https://forum.microej.com/uploads/default/original/1X/701dfee08ce7327a350931f6142636faf6f49d0f.png)

![image](https://forum.microej.com/uploads/default/original/1X/a7d033b483b174f7d54e5afed39dacaf3b32e8bf.png)

Regards,

Alexis

---

<div class="post-metadata">

**Author:** ![yuelan.huang](https://forum.microej.com/letter_avatar_proxy/v4/letter/y/7cd45c/32.png) [@yuelan.huang](https://forum.microej.com/u/yuelan.huang)\
**Post date:** [January 11, 2023, 8:46am UTC](https://forum.microej.com/t/how-can-i-create-a-new-project-that-can-run/1216/3 "2023-01-11T08:46:14Z")

</div>

I create my own project,

 ![image](https://forum.microej.com/uploads/default/original/1X/15cbaf4ac133523d1e8ca58541d23fac286c58e9.png)  
I want to run it on simulator ,simulator can not show.why?

---

<div class="post-metadata">

**Author:** ![alexis.pineau](https://forum.microej.com/user_avatar/forum.microej.com/alexis.pineau/32/194_2.png) [@alexis.pineau](https://forum.microej.com/u/alexis.pineau)\
**Post date:** [January 12, 2023, 8:47am UTC](https://forum.microej.com/t/how-can-i-create-a-new-project-that-can-run/1216/4 "2023-01-12T08:47:45Z")

</div>

Hello @yuelan.huang ,

If you are trying to run a standalone application you need a _public static void main(String[] args)_ method that is your application’s entry point.

When creating a new standalone application project this main method is automatically created. It should be in your _Main.java_ class so you need to set it in your launcher as explained in my previous message

Regards,

Alexis
