kjots, thanks. That in combination with GWT1.53 worked!! I am now getting this error when trying to launch hosted mode:
** Unable to find a usable Mozilla install ** You may specify one in mozilla-hosted-browser.conf, see comments in the file for details. -Pavel On Thu, Oct 16, 2008 at 5:44 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi there. > > The libswt-pi-gtk-3235.so library is a 32-bit ELF object, so you will > have to use a 32-bit JVM when launching the GWT shell. > > Hope this helps. > > Cheers. > > -- > Karl J. Ots > > On Oct 17, 8:35 am, "Pavel Byles" <[EMAIL PROTECTED]> wrote: > > I think the problem was an incorrectly compiled swt.jar. I Found a > package > > that contained a good one. > > Now i'm getting: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: > > /home/wikid/Code/GWT15/libswt-pi-gtk-3235.so: > > /home/wikid/Code/GWT15/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:1778) > > at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674) > > 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:301) > > Could not find the main class: com.google.gwt.dev.GWTShell. Program will > > exit. > > > > Which says that the error is now with the libswt-pi-gtk-3235.so which > comes > > with GWT. > > Any help with this would really be appreciated. > > > > -Pavel > > > > On Thu, Oct 16, 2008 at 2:43 PM, Pavel Byles <[EMAIL PROTECTED]> > wrote: > > > gwt-dev-linux. It is in my classpath. > > > > > -Pavel > > > > > On Thu, Oct 16, 2008 at 2:21 PM, Perelman Nathan (Nathan) < > > > [EMAIL PROTECTED]> wrote: > > > > >> I'm guessing that gwt-dev-linux.jar is not on your classpath. (Or > > >> whatever the correct gwt-dev jar is for your OS). > > >> ------------------------------ > > > > >> *From:* [email protected] [mailto: > > >> [EMAIL PROTECTED] *On Behalf Of *Pavel Byles > > >> *Sent:* Thursday, October 16, 2008 15:09 > > >> *To:* [email protected] > > >> *Subject:* Error on 64bit System > > > > >> I have just converted to using 64bit and I'm encountering some > problems > > >> configuring my GWT project which I created using Cypal Studio's > plugin. > > >> I am getting the following error: > > > > >> Exception in thread "main" java.lang.NoClassDefFoundError: > > >> org/eclipse/swt/internal/gtk/OS > > >> 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:130) > > >> at com.google.gwt.dev.GWTShell.<clinit>(GWTShell.java:301) > > >> Caused by: java.lang.ClassNotFoundException: > > >> org.eclipse.swt.internal.gtk.OS > > >> 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 sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java:229) > > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > > >> at java.lang.ClassLoader.loadClass(ClassLoader.java:252) > > >> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > > >> ... 4 more > > >> Could not find the main class: com.google.gwt.dev.GWTShell. Program > will > > >> exit. > > > > >> The error seems to be correct, because there really isn't a GWTShell > class > > >> anywhere. > > > > >> I have followed the instruction on the Eclipse SWT page and build the > SWT > > >> jar for my system and copied to my JRE's lib/ext dir and it is showing > up in > > >> the build path correctly. > > > > >> The project I have definitely worked when I was on 32bit. And when I > > >> created a new project it's giving the same error. > > > > >> Have I missed something? > > > > >> -Pavel > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
