DZone Forums
Go Back   DZone Forums > Community > Tools & IDEs > Eclipse
Reload this Page integrating a Third-Party Library in RCP application
Notices
Reply
 
LinkBack Thread Tools Display Modes
  (#1 (permalink)) Old
Member
 
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Join Date: May 2009
Default integrating a Third-Party Library in RCP application - 05-29-2009, 05:15 AM

Hello Experts,
I am a newbie for RCP. I want to integrate a Third-Party Library in my RCP application. I am referring the book "Eclipse Rich Client Platform: Designing, Coding, and Packaging Java Applications By Jeff McAffer, Jean-Michel Lemieux".

What I have done so far is :-

1)Create a plug-in project using File > New > Project... > Plug-in Development > Plug-in from existing JAR archives

3)Now in my RCP application , On the Dependencies page I have added the above plugin.

Now when I run my RCP application , I get this error.


java.lang.RuntimeException: No application id has been found.
at org.eclipse.equinox.internal.app.EclipseAppContain er.startDefaultApp(EclipseAppContainer.java:236)
at org.eclipse.equinox.internal.app.MainApplicationLa uncher.run(MainApplicationLauncher.java:29)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework( Main.java:556)
at org.eclipse.equinox.launcher.Main.basicRun(Main.ja va:511)
at org.eclipse.equinox.launcher.Main.run(Main.java:12 84)
at org.eclipse.equinox.launcher.Main.main(Main.java:1 260)

I have googled it a lot but didn't get any help. Please help me. It has eaten up my whole day & still I am unable to solve this problem . Thanks in advance for any help.
Reply With Quote
  (#2 (permalink)) Old
Active Contributor
 
Posts: 62
Thanks: 0
Thanked 6 Times in 6 Posts
Join Date: Jun 2009
Default 06-11-2009, 02:42 AM

Copy the third-party jar to your project, and configure it to class path.


www.eclaxy.com
let's perfect the eclipse!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show JRE library in project? lumbergh Eclipse 3 06-11-2009 02:27 AM
Eclipse RCP - NoClassDefFound when attempting to use 3rd party plug-in Mark Brown Eclipse 5 05-22-2009 01:47 AM
Web App Library Empty?! burtonrhodes Eclipse 0 12-04-2008 09:24 AM
Override a 3rd party plugin class - RCP SatishP Eclipse 0 11-25-2008 05:18 AM
library for dumping object content via reflection denis.tsyplakov Java 2 08-28-2008 06:13 AM


Copyright 1997-2009, DZone, Inc.
vBulletin Skin developed by: vBStyles.com