I just exported a product that is working nicely if I hit the \"Launch an Eclipse application\" button. If try to execute the exported product, I get following exception on
I went to my run configurations and hit Add Required Plug-Ins
one the Plug-Ins
page. Made the problem go away.
Added missing javax.xml dependency to the product configuration file:
<plugin id="com.ibm.icu"/>
<plugin id="javax.annotation"/>
<plugin id="javax.inject"/>
+<plugin id="javax.xml"/>
<plugin id="org.apache.batik.css"/>
<plugin id="org.apache.batik.util"/>
<plugin id="org.apache.batik.util.gui"/>
I had the same problem. With E4 tooling the following steps worked for me. Open .product file and go to Dependencies tab. Then press Add Required Plug-ins. Then go to Overview and press Launch an Eclipse application. Also you should do Help->Check for updates
Review the Dependencies tab, and remove the extra plug-ins are are showing un-resolved in the Plug-ins and Fragments.
Normally, I would look for the following:
config.ini
file that does not define the proper application for the product.I had a similar exception while launching my project. In my case, the reason was JRE version - I've set JRE 1.7 instead of 1.6 in debug configuration, and things started to work. I believe the same thing can happen, if the project was configured for OpenJDK 1.6, and the debug launches it with sun-JDK 1.6.