I downloaded and configured maven based project provided in bonitasoft documentation "embedded-engine-exmple"
but I am getting error "Exception in thread "main" java.lang.RuntimeException: The system property bonita.home is not set" when I run it.
I also set bonita.home at runtime and also in my computer (System properties), but still getting same error.
Same thing happened to me...
What I did was right click your project select Run As... then Run Configurations, to Java Application add a new Configuration and in tab Arguments add a line in VM arguments
this should work