Eclipse: product export error: the product launcher executable could not find its shared shared library
I am exporting an Eclipse plugin project using the Product Export Wizard, I have a 64 bit Eclipse Indigo.
Everything works fine when I tried to export it as a 64 bit project. But problems came up when I tried to export it to a 32 bit project.
I have set the target platform, installed the 32bit JRE, added all the required plugins, the program compiles and works fine on the 32bit JRE.
The product exported successfully as well, however when I tried to run .Exe it gives an error. "The executable product launcher could not find its shared shared library."
I have verified that org.eclipse.equinox.launcher_1.2.0.v20110502.jar and org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502 both exist in the plugins folder. I compared the plugins for the .product file with the runtime config plugins, everything seems fine, but I just couldn't get the .exe running.
Please, help..
source to share
I had the same problem with 64bit Eclipse Mars SR1. The problem was that the exported product had a 64-bit EXE launch instead of a 32-bit one. The solutions are
- Use @RKM suggestion and copy the launcher created by 32-bit Eclipse into your application.
- Use 32-bit Eclipse directly for product development and export.
source to share