Found this googling... " Sounds like you got a 64-bit setup.
Tough luck. Won't work. When it's out, buy an OS that can interop 32- bit and 64-bit properly, I guess. (Mac OS X Leopard). Alternatively, complile the relevant .so (libswt-pi-gtk) yourself using gcc, or try and find a 64-bit version. SWT is hosted somewhere on www.eclipse.org, and you should be able to just replace the .so file, though it MUST be the same version (3235), or it won't interoperate with the SWT class files used by GWT. You may be able to replace swt.jar if that file even exists with a newer version if you can't find a 3235 64-bit version. (GWT may have integrated those files into the main JAR file which will make your life very difficult). If you get stuck, well, the GWT -Compiler- won't need that library so that will still work. Just can't use hosted mode. " Cheers, Amit On Sat, Sep 13, 2008 at 9:22 PM, bilahar A <[EMAIL PROTECTED]> wrote: > > > A newbiew with GWT, wanted to explore it but cannot run > the examples as they crash. I am on a AMD 64 Turion, Ubuntu 64-bit > (Hardy Heron) and using sun java 6. I tried compiling firsnkst and > then running the examples but it didnt help. > > Please help me. Tha > > :~/gwt-linux-1.5.0/samples/Hello$ sh Hello-shell > Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/ > bilahari/gwt-linux-1.5.0/libswt-pi-gtk-3235.so: /home/bilahari/gwt- > linux-1.5.0/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32 > (Possible cause: architecture word width mismatch) > at java.lang.ClassLoader$NativeLibrary.load(Native Method) > at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751) > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647) > at java.lang.Runtime.load0(Runtime.java:770) > at java.lang.System.load(System.java:1005) > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:132) > at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:22) > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63) > at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54) > at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126) > at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:302) > > > Bilahari > > > > -- Warm Regards, Amit Dhingra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---