Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Failed to find Main Class in equinox.launcher
Failed to find Main Class in equinox.launcher [message #875099] Tue, 22 May 2012 06:34 Go to next message
Joe Cronin is currently offline Joe Cronin
Messages: 2
Registered: May 2012
Junior Member
Hi all,

I have run up the Eclipse Product export wizard and generated the exe however when I double click on this I get the following error:

Failed to find a Main Class in "C:\work\project\eclipse\plugins\org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400

Now in the output directory I have looked in the plugins directory and I do have a org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400 directory. Inside this I have the following JAR files:

org.eclipse.equinox.launcher.source_1.1.1.R36x_v20101122_1400.jar
org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

I have opened up the bottom JAR and it does contain a Main.class so I have no idea why this is not working.

I am using Rational Software Architect 8.0.4. As a note this used to work in RSA 7.5 but since the upgrade to v8 we are running into this issue.

Any help would be fantastic

[Updated on: Tue, 22 May 2012 07:00]

Report message to a moderator

Re: Failed to find Main Class in equinox.launcher [message #875111 is a reply to message #875099] Tue, 22 May 2012 07:03 Go to previous message
Joe Cronin is currently offline Joe Cronin
Messages: 2
Registered: May 2012
Junior Member
Actually I think I need to take a step back. I found an article that was a workaround to this issue below but that was to import the JAR file into my workspace.

Here is the initial error I was getting when I ran up the wizard so I think I should sort that out first before the first post above. (The solution to this may even fix the first post problem).

C:\work\project\workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:100: The following error occurred while executing this line:
C:\work\project\workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:263: C:\work\project\workspace\.metadata\.plugins\org.eclipse.pde.core\temp\assemblyLocation\tmp\eclipse\plugins\org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400 not found.
The following error occurred while executing this line:
C:\work\project\workspace\.metadata\.plugins\org.eclipse.pde.core\temp\org.eclipse.pde.container.feature\package.org.eclipse.pde.container.feature.win32.win32.x86.xml:263: C:\work\project\workspace\.metadata\.plugins\org.eclipse.pde.core\temp\assemblyLocation\tmp\eclipse\plugins\org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400 not found.

[Updated on: Tue, 22 May 2012 07:03]

Report message to a moderator

Previous Topic:[RCP 4] Add menu item to menu at runtime
Next Topic:permanent job offer
Goto Forum:
  


Current Time: Mon Oct 20 21:23:49 GMT 2014

Powered by FUDForum. Page generated in 0.03081 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software