Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Newbie problems with SWT examples
Newbie problems with SWT examples [message #439846] Sun, 18 July 2004 15:06 Go to next message
Eclipse UserFriend
Originally posted by: karl.dadoka.h.ni.schule.de

Hello,
I installed Eclipse 3.0 on a Linux machine (SuSE 9.0) as root. I added
the Virtal Editor. Then I started as a normal user and tried to use the
SWT examples. Here is what I got:

!SESSION Jul 18, 2004 17:03:54.954
---------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments: -application org.eclipse.ui.workbench

!ENTRY org.eclipse.osgi Jul 18, 2004 17:03:54.955
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "org.eclipse.ui.workbench" could
not be found in the registry. The applications available are:
org.eclipse.ant.core.antRunner,
org.eclipse.help.base.infocenterApplication,
org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
org.eclipse.pde.build.BuildScriptGenerator,
org.eclipse.pde.build.FetchScriptGenerator,
org.eclipse.pde.junit.runtime.uitestapplication,
org.eclipse.pde.junit.runtime.legacyUItestapplication,
org.eclipse.pde.junit.runtime.coretestapplication,
org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
org.eclipse.swt.examples.launcher.application.
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:325)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)


Any help is welcome.

Karl
Re: Newbie problems with SWT examples [message #439864 is a reply to message #439846] Mon, 19 July 2004 09:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bram.eresmas.net

it looks like a problem with the classpath. u should add:
boot.jar,
jface.jar,
runtime.jar,
swt.jar,
workbench.jar
osgi.jar.

Just try it.

bram

/***************************/


Karl Sarnow wrote:

> Hello,
> I installed Eclipse 3.0 on a Linux machine (SuSE 9.0) as root. I added
> the Virtal Editor. Then I started as a normal user and tried to use the
> SWT examples. Here is what I got:

> !SESSION Jul 18, 2004 17:03:54.954
> ---------------------------------------------
> eclipse.buildId=unknown
> java.version=1.4.2
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
> Command-line arguments: -application org.eclipse.ui.workbench

> !ENTRY org.eclipse.osgi Jul 18, 2004 17:03:54.955
> !MESSAGE Application error
> !STACK 1
> java.lang.RuntimeException: Application "org.eclipse.ui.workbench" could
> not be found in the registry. The applications available are:
> org.eclipse.ant.core.antRunner,
> org.eclipse.help.base.infocenterApplication,
> org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
> org.eclipse.pde.build.BuildScriptGenerator,
> org.eclipse.pde.build.FetchScriptGenerator,
> org.eclipse.pde.junit.runtime.uitestapplication,
> org.eclipse.pde.junit.runtime.legacyUItestapplication,
> org.eclipse.pde.junit.runtime.coretestapplication,
> org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
> org.eclipse.swt.examples.launcher.application.
> at
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:325)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
> at
>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
> at org.eclipse.core.launcher.Main.run(Main.java:644)
> at org.eclipse.core.launcher.Main.main(Main.java:628)


> Any help is welcome.

> Karl
Re: Newbie problems with SWT examples [message #439999 is a reply to message #439864] Tue, 20 July 2004 13:06 Go to previous message
Eclipse UserFriend
Originally posted by: karl.dadoka.h.ni.schule.de

Abraham wrote:
> it looks like a problem with the classpath. u should add:
> boot.jar,
> jface.jar,
> runtime.jar,
> swt.jar,
> workbench.jar
> osgi.jar.
>
> Just try it.
>
> bram
>

Thanks Abraham,
where do I find these libraries and where do I put them?

Thanks
Karl


> /***************************/
>
>
> Karl Sarnow wrote:
>
>
>>Hello,
>> I installed Eclipse 3.0 on a Linux machine (SuSE 9.0) as root. I added
>>the Virtal Editor. Then I started as a normal user and tried to use the
>>SWT examples. Here is what I got:
>
>
>>!SESSION Jul 18, 2004 17:03:54.954
>>---------------------------------------------
>>eclipse.buildId=unknown
>>java.version=1.4.2
>>java.vendor=Sun Microsystems Inc.
>>BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
>>Command-line arguments: -application org.eclipse.ui.workbench
>
>
>>!ENTRY org.eclipse.osgi Jul 18, 2004 17:03:54.955
>>!MESSAGE Application error
>>!STACK 1
>>java.lang.RuntimeException: Application "org.eclipse.ui.workbench" could
>>not be found in the registry. The applications available are:
>>org.eclipse.ant.core.antRunner,
>>org.eclipse.help.base.infocenterApplication,
>>org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool,
>>org.eclipse.pde.build.BuildScriptGenerator,
>>org.eclipse.pde.build.FetchScriptGenerator,
>>org.eclipse.pde.junit.runtime.uitestapplication,
>>org.eclipse.pde.junit.runtime.legacyUItestapplication,
>>org.eclipse.pde.junit.runtime.coretestapplication,
>>org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate,
>>org.eclipse.swt.examples.launcher.application.
>> at
>>
>
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:325)
>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>> at
>>
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
>> at java.lang.reflect.Method.invoke(Method.java:324)
>> at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
>> at org.eclipse.core.launcher.Main.run(Main.java:644)
>> at org.eclipse.core.launcher.Main.main(Main.java:628)
>
>
>
>>Any help is welcome.
>
>
>>Karl
>
>
>
Previous Topic:Modifying an in memory bitmap ...
Next Topic:Tab Order
Goto Forum:
  


Current Time: Sat Apr 27 04:26:36 GMT 2024

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

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

Back to the top