On Sun, Aug 2, 2009 at 7:24 AM, ubuntu_user<tie...@tiennguyen.net> wrote: > > Hi All, > I installed GWT using Eclipse 3.5. Tried to create the first "blank" > app and I got this message when I ran it: > > Exception in thread "main" java.lang.UnsatisfiedLinkError: /myHome/bin/ > eclipse/plugins/ > com.google.gwt.eclipse.sdkbundle.linux_1.7.0.v200907291526/gwt- > linux-1.7.0/libswt-pi-gtk-3235.so: /home/tienhn/bin/eclipse/plugins/ > com.google.gwt.eclipse.sdkbundle.linux_1.7.0.v200907291526/gwt- > linux-1.7.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(Unknown Source) > at java.lang.ClassLoader.loadLibrary(Unknown Source) > at java.lang.Runtime.load0(Unknown Source) > at java.lang.System.load(Unknown Source) > 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.SwtHostedModeBase.<clinit> > (SwtHostedModeBase.java:82) > Could not find the main class: com.google.gwt.dev.HostedMode. Program > will exit. > > I am on 64 bit platform; does GWT support 64 bit?
Basically No. Hosted mode uses a 32 bit version of SWT. You'll have to install a 32 bit JRE. You want to check that JRE version. You'll want 1.6.12 or 1.6.13 Newer versions have problems w/ the Eclipse debugger. You can have two JRE environments: simply tell GWT to use the 32 bit version and use the 64 bit version for your other applications. --~--~---------~--~----~------------~-------~--~----~ 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 google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---