| Launcher error with product executable, but not with launcher.jar [message #775675]
||Fri, 06 January 2012 14:05
|| Stephan Druskat
Registered: October 2011
Location: Berlin, Germany
I'm building an Eclipse RCP application against Eclipse 3.7.1 and Java 1.6. I'm also using Tycho to build, and have set up my RCP according to the Tycho tutorial from the EclipseCon 2011 (cf. eclipsecon.org/sessions/building-eclipse-plugins-and-rcp-applications-tycho, I cannot use links yet).|
The application builds fine up until I get to Step 5 (adding a p2 repo, then adding a .product file. It still builds fine, and everything is where it should be, but I cannot start the RCP by clicking on the .exe file from the repository in the workspace.
All I get is the "The [RCP] executable launcher was unable to locate its companion shared library" error popup.
First of all I thought I might have set up the CLASS PATH incorrectly, but when I open a console and type or anywhere, it all works.
Also, when I go to the plugins folder in the p2 repository for the RCP in the workspace, and double-click on org.eclipse.equinox.launcher_1.2.0.v20110502.jar, the RCP starts, albeit without the splash screen.
This must surely mean my Java set up is correct, and it's not a class path problem?
I'm not sure where this problem might lie (I have a plugin, a feature, a product, a repository, and a parent package with the main pom), so if you let me know your suspicions where the error might come from, I'll be more than happy to post respective XML, build.properties, screenshots and what have you. Unless this is a common error with a common solution.
Many thanks in advance!
Btw, working on Windows 7 (64-bit), JDK and JRE both 64-bit as well, Eclipse EE 3.7.1 (I chose that because it contains the most plugins I'll need later by default).
I'm also attaching my CLASS PATH Settings for reference.
CLASS PATH: C:\Program Files\Java\jdk1.6.0_30;.;
JAVA_HOME: C:\Program Files\Java\jdk1.6.0_30
Many thanks indeed for any help!
Powered by FUDForum
. Page generated in 0.01873 seconds