Eclipse RCP

When testing on an Eclipse RCP target platform, set the default JRE to jdk. To do this perform the following steps:
  1. From the Eclipse menu bar select Window > Preferences > Java > Installed JREs.
  2. In the list of installed JREs, select the box next to jdk.
  3. Click OK.

Ensure your JRE's match. For example, if you are testing on an Eclipse environment that will be running Java™ 1.8, you should update the JRE of the workspace to match the JRE of the runtime environment.