Eclipse: Product Export error: The Product executable launcher was unable to locate its companion shared library - eclipse

I am exporting an Eclipse Plugin Project using Product Export Wizard, I have Eclipse Indigo 64 bit bits.
Everything works fine when I tried exporting it as a 64 bit project. But problems oocured when I tried exporting it into a 32bit project.
I have set the target platform, installed JRE 32bit, added all the required plugins, the program compiles and runs fine on a 32 bit JRE.
The product also seem to export successfully, however, when I tried running the .Exe, it throws an error "The Product executable launcher was unable to locate its companion shared library."
I have checked that the org.eclipse.equinox.launcher_1.2.0.v20110502.jar and org.eclipse.equinox.launcher.win32.win32.x86_1.1.100.v20110502 both exists in the plugins folder. I have compared the plugins for the .product file with the runtime configuration plugins, everything seems fine, but I just could not start the .exe.
Please help..

According to this, unpacking the org.eclipse.equinox.launcher.win32.win32.x86_XXXXXXXX jar with the same name in the same directory (i.e. plugins/) fix the issue for me

I had the same problem with 64-bit Eclipse Mars SR1. The issue was that the exported product had a 64-bit launcher EXE instead of 32-bit.
The solutions are
Use the suggestion by #RKM and copy the launcher created by 32-bit Eclipse into your application.
Use 32-bit Eclipse directly for development and exporting product.

Related

Fix "The Eclipse Installer executable launcher was unable to locate its companion shared library."

I'm trying to install Eclipse Neon on a 64 bit Windows 7 computer. I download the file "eclipse-inst-win64.exe" and run as administrator. Immediately I get the following error:
The Eclipse Installer executable launcher was unable to locate its companion shared library.
Note the "Installer" keyword. When searching on Google and StackOverflow, I find solutions only for when receiving this error launching Eclipse itself after it is installed. The solutions that worked for people in those situations usually involve editing the "eclipse.ini" file and removing absolute paths or references to uninstalled plugins. However, Eclipse has never been installed on this computer, therefore an "eclipse.ini" file does not exist and the installer does not appear to create one in any obvious place before throwing this error. There does not appear to be any "companion shared library" downloads on the Eclipse website. Any ideas on what could be going on?
Download and install the JDK and then try to install Eclipse again.
According to http://wiki.eclipse.org/Eclipse/Installation:
Eclipse 4.6 (Neon) was released on June 22, 2016. See Neon schedule.
Consider using the Installer. Please see 5 Steps to Install Eclipse.
A Java 8 JRE/JDK is required to run all Neon packages based on
Eclipse 4.6, including the Installer. The reasoning behind
requiring Java 8 are discussed here.
I found another reason for this error message. I got it when I tried to install Eclipse from the compressed installer. I extracted the installer into a folder and ran it from there. It then installed.
Try to extracted all the installer files before you run the installer.

UnsatisfiedLinkError Starting JVM Via Eclipse

I have a plain Eclipse installation without much of anything, and a workspace with a Maven (or better yet Tycho) project. Everything worked until I decided to change the JDK (Preferences -> Installed JREs); now whenever I start a Maven build or the plug-in unit tests I get the following error:
Error occurred during initialization of VM
java.lang.UnsatisfiedLinkError: java.lang.Class.getClassLoader0()Ljava/lang/ClassLoader;
<<no stack trace available>>
I have restarted Eclipse and tried a different installation, and since I thought the problem was with the JRE, I changed it back to the original one. Still the same error.
The corresponding 64bit JRE works, but sadly the build has an integration test for 32bit (Cannot load 32-bit SWT libraries on 64-bit JVM), so that's why I need to get 32bit to work again.
How do I fix it?
Deleting all the .metadata folder of the workspace and setting it up again helped.

Eclipse Error-The Eclipse executable launcher was unable to locate its companion shared library

I Downloaded Eclipse from-https://eclipse.org/downloads/
From where i got -eclipse-inst-win64.exe
After intalling it,when i launch it, It is throwing me an error
The Eclipse executable launcher was unable to locate its companion shared library.
I am having Windows 8.1-64 bits, Java SE Runtime Environment-Build 1.8.0_77-b03
very simple and easy solution for this problem. This problem occurs only because of versioning of eclipse . so need to clear the versions of jars which are in the eclipse.ini . Easy way to fix this is just remove eclipse.ini and run your eclipse application file it will automatically creates new eclipse.ini as per your environment

Java executable jar file is not running properly

I have built an executable jar file using netbeans IDE, it works fine in my system but yesterday I gave it to my friend and he is complaining that the file is not running, it just show the splash screen and then closes, he has JRE 6 installed.
I am unable to resolve the issue. Can someone help?
The problem is, you build the jar using JDK7 and you want to run it on JDK6. It will become error. Try to downgrade and build jar again using JDK6.
Right-Click on your project properties and select Libraries and change the Java Platform.
If the JDK6 didn't come out, please make sure to add it from Tools > Java Platforms and Add Platform...

how to launch eclipse: eclipse executable launcher was unable to locate in windows xp?

eclipse executable launcher was unable to locate shared lib in windows xp OS..I keep getting this error when i launch eclipse and i browsed through but not able to find any correct solution . can anyone help me out i really in the need of eclipse right now?
Install the Java JRE/JDK ? Otherwise a more detailed error message would be helpful.
What got it all working for me was to download eclipse indigo 3.7.2 and (this is very important) EXTRACT IT DIRECTLY INTO MY PROGRAMS FOLDER. Before I would extract it to my desktop and copy into the programs folder (C:\Program Files) but I would jus get an error message saying "The Eclipse executable launcher was unable to locate its companion shared library" when trying to run eclipse.
After extracting eclipse directly to my programs folder I ran it and so far all is working well :)