Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Linux M9 : standalone examples dont' launch
Linux M9 : standalone examples dont' launch [message #437008] Fri, 28 May 2004 02:49 Go to next message
christophe dufaza is currently offline christophe dufazaFriend
Messages: 13
Registered: July 2009
Junior Member
i've noticed that the standalone samples don't start from the SWT Examples
Launcher.

it's very easy to reproduce :
unzip eclipse-SDK-3.0M9-linux-gtk.zip
start/stop eclipse
unzip eclipse-examples-3.0M9.zip
start eclipse
open view / others / SWT Example Launcher
choose any standalone sample (as TextEditor)
-> nothing happens

in the log, we find :
eclipse.buildId=I200405211200
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
!ENTRY org.eclipse.swt.examples.launcher 4 0 May 28, 2004 04:35:39.771
!MESSAGE Could not find the class to run.
!STACK 0
java.lang.ClassNotFoundException: org.eclipse.swt.examples.texteditor.TextEditor
at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass
(BundleLoader.java:404)
at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass
(AbstractClassLoader.java:93)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at org.eclipse.swt.examples.launcher.LauncherView.launchItem
(LauncherView.java:187)
at org.eclipse.swt.examples.launcher.LauncherView.access$2
(LauncherView.java:170)
at org.eclipse.swt.examples.launcher.LauncherView$3.widgetSelec ted
(LauncherView.java:90)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
....

though, i can confirm there actualy is an
/org/eclipse/swt/examples/texteditor/TextEditor class within the installed
$eclipse/plugins/org.eclipse.swt.examples_3.0.0/swtexamples. jar

do i need to perform other installation steps (i think i remember this
wasn't the case for older releases), or should we submit a bug report for
this ?

regards,
duf.
Re: Linux M9 : standalone examples dont' launch [message #437068 is a reply to message #437008] Fri, 28 May 2004 12:56 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=56047

"Christophe Dufaza" <christophe.dufaza@wanadoo.fr> wrote in message
news:pan.2004.05.28.02.49.18.650462@wanadoo.fr...
> i've noticed that the standalone samples don't start from the SWT Examples
> Launcher.
>
> it's very easy to reproduce :
> unzip eclipse-SDK-3.0M9-linux-gtk.zip
> start/stop eclipse
> unzip eclipse-examples-3.0M9.zip
> start eclipse
> open view / others / SWT Example Launcher
> choose any standalone sample (as TextEditor)
> -> nothing happens
>
> in the log, we find :
> eclipse.buildId=I200405211200
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> !ENTRY org.eclipse.swt.examples.launcher 4 0 May 28, 2004 04:35:39.771
> !MESSAGE Could not find the class to run.
> !STACK 0
> java.lang.ClassNotFoundException:
org.eclipse.swt.examples.texteditor.TextEditor
> at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass
> (BundleLoader.java:404)
> at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass
> (AbstractClassLoader.java:93)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at org.eclipse.swt.examples.launcher.LauncherView.launchItem
> (LauncherView.java:187)
> at org.eclipse.swt.examples.launcher.LauncherView.access$2
> (LauncherView.java:170)
> at org.eclipse.swt.examples.launcher.LauncherView$3.widgetSelec ted
> (LauncherView.java:90)
> at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> ...
>
> though, i can confirm there actualy is an
> /org/eclipse/swt/examples/texteditor/TextEditor class within the installed
> $eclipse/plugins/org.eclipse.swt.examples_3.0.0/swtexamples. jar
>
> do i need to perform other installation steps (i think i remember this
> wasn't the case for older releases), or should we submit a bug report for
> this ?
>
> regards,
> duf.
Re: Linux M9 : standalone examples dont' launch [message #437087 is a reply to message #437068] Fri, 28 May 2004 14:49 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Note that this will be fixed in the RC1 build.

"Veronika Irvine" <veronika_irvine@oti.com> wrote in message
news:c97cet$qn4$1@eclipse.org...
> See:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=56047
>
> "Christophe Dufaza" <christophe.dufaza@wanadoo.fr> wrote in message
> news:pan.2004.05.28.02.49.18.650462@wanadoo.fr...
> > i've noticed that the standalone samples don't start from the SWT
Examples
> > Launcher.
> >
> > it's very easy to reproduce :
> > unzip eclipse-SDK-3.0M9-linux-gtk.zip
> > start/stop eclipse
> > unzip eclipse-examples-3.0M9.zip
> > start eclipse
> > open view / others / SWT Example Launcher
> > choose any standalone sample (as TextEditor)
> > -> nothing happens
> >
> > in the log, we find :
> > eclipse.buildId=I200405211200
> > java.version=1.4.2_04
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> > !ENTRY org.eclipse.swt.examples.launcher 4 0 May 28, 2004 04:35:39.771
> > !MESSAGE Could not find the class to run.
> > !STACK 0
> > java.lang.ClassNotFoundException:
> org.eclipse.swt.examples.texteditor.TextEditor
> > at org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass
> > (BundleLoader.java:404)
> > at org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass
> > (AbstractClassLoader.java:93)
> > at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302 )
> > at java.lang.Class.forName0(Native Method)
> > at java.lang.Class.forName(Class.java:141)
> > at org.eclipse.swt.examples.launcher.LauncherView.launchItem
> > (LauncherView.java:187)
> > at org.eclipse.swt.examples.launcher.LauncherView.access$2
> > (LauncherView.java:170)
> > at org.eclipse.swt.examples.launcher.LauncherView$3.widgetSelec ted
> > (LauncherView.java:90)
> > at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:89)
> > ...
> >
> > though, i can confirm there actualy is an
> > /org/eclipse/swt/examples/texteditor/TextEditor class within the
installed
> > $eclipse/plugins/org.eclipse.swt.examples_3.0.0/swtexamples. jar
> >
> > do i need to perform other installation steps (i think i remember this
> > wasn't the case for older releases), or should we submit a bug report
for
> > this ?
> >
> > regards,
> > duf.
>
>
Re: Linux M9 : standalone examples dont' launch [message #437098 is a reply to message #437087] Fri, 28 May 2004 17:07 Go to previous message
christophe dufaza is currently offline christophe dufazaFriend
Messages: 13
Registered: July 2009
Junior Member
On Fri, 28 May 2004 10:49:07 -0400, Grant Gayed wrote:

> Note that this will be fixed in the RC1 build.
>
thanx, these samples are usefull as they illustate the actual behavior of
current release regarding a few basic situations.
Previous Topic:Rich Text control in SWT?
Next Topic:Drag And Drop widgets
Goto Forum:
  


Current Time: Sat Apr 27 00:59:25 GMT 2024

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

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

Back to the top