From this post, I have this error message when I tried to execute headless eclipse code.
java.lang.RuntimeException: Could not find framework
at org.eclipse
Exporting a product (even a plugin-based product) works much better for providing what you need to get a running RCP application.
But if you've already created a launch config for your headless app, you can find out exactly what bundles you need and potentially what an config.ini file looks like by looking in <workspace>/.metadata/.plugins/org.eclipse.pde.core/<launch-config.name>
. There should be a config.ini that PDE generated to launch your headless app.
I'd still recommend creating a .product file for your application and exporting that, unless you have a reason not to.