Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » RCP can not say hello world
RCP can not say hello world [message #568885] Tue, 23 February 2010 03:14 Go to next message
Jinshan  is currently offline Jinshan
Messages: 24
Registered: December 2009
Junior Member
I used the RCP Wizard to create a HelloWorld RCP Application.
But When I run it as a eclipse application, the eclipse say:

!SESSION Tue Feb 23 15:55:25 CST 2010 ------------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
Re: RCP can not say hello world [message #568943 is a reply to message #568885] Tue, 23 February 2010 09:14 Go to previous messageGo to next message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

With what build? you might have to go to your launch config and add all
required plugins.

PW

--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/workbench.htm


Re: RCP can not say hello world [message #568963 is a reply to message #568885] Tue, 23 February 2010 10:10 Go to previous messageGo to next message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Try the manual way and see if it works:
http://www.vogella.de/articles/EclipseE4/article.html

Cheers, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter


On 23.02.2010 00:14, Jinshan wrote:
> I used the RCP Wizard to create a HelloWorld RCP Application.
> But When I run it as a eclipse application, the eclipse say:
>
> !SESSION Tue Feb 23 15:55:25 CST 2010
> ------------------------------------------
> !ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
>
>
Re: RCP can not say hello world [message #568989 is a reply to message #568885] Wed, 24 February 2010 01:03 Go to previous messageGo to next message
Jinshan  is currently offline Jinshan
Messages: 24
Registered: December 2009
Junior Member
The build is eclipse-e4-SDK-incubation-I20100218-2100-win32.


If I have to add all required plugins by mysely, I think the wizard shoud be update.
Re: RCP can not say hello world [message #570102 is a reply to message #568885] Fri, 12 March 2010 05:16 Go to previous message
Yves YANG is currently offline Yves YANG
Messages: 687
Registered: July 2009
Senior Member
Here is a screencast to help you getting started:
http://wiki.eclipse.org/E4/E4Designer

yves
"Jinshan" <jinshanl@gmail.com> wrote in message
news:hm02po$l4r$1@build.eclipse.org...
>I used the RCP Wizard to create a HelloWorld RCP Application.
> But When I run it as a eclipse application, the eclipse say:
>
> !SESSION Tue Feb 23 15:55:25 CST
> 2010 ------------------------------------------
> !ENTRY org.eclipse.equinox.launcher 4 0 2010-02-23 15:55:25.100
> !MESSAGE Exception launching the Eclipse Platform:
> !STACK
> java.lang.ClassNotFoundException:
> org.eclipse.core.runtime.adaptor.EclipseStarter
> at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 608)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1339)
>
>
Previous Topic:The way XWT should work
Next Topic:IXWTLoader DISBALE_STYLES_PROPERTY = "XWT.DisabledStyles";
Goto Forum:
  


Current Time: Fri Aug 01 18:36:47 EDT 2014

Powered by FUDForum. Page generated in 0.06673 seconds