Re: Error message on 64 bit system
You could download a 32-bit JRE, and then in eclipse remove the default (64bit) and add the 32bit JRE System Library. i have been using this method for awhile with a 64bit edition of ubuntu; its quite easy ! On Aug 2, 10:24 am, ubuntu_user wrote: > Hi All, > I installed GWT using Eclipse 3.5. Tried to create the first "blank" > app and I got thismessagewhen 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.(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.(Display.java:126) > at com.google.gwt.dev.SwtHostedModeBase. > (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? > > Thanks, --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error message on 64 bit system
Your only option right now (for 64-bit) is to use the new "Out Of Process Hosted Mode". I won't even go into setting this up, for me it was a pain (on Mac OS X), but you can read more about it here: http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM Note, it is not for the faint of heart, but if you don't mind compiling GWT and the new host mode code (native code, gcc required), you can use your 64-bit VM. Expect to burn a day or three on it, and not get a lot of support, if you go that route. It would be generous to call it Alpha code, but at least for me it works and is mostly stable, except for crashing my browser under certain avoidable but easily reproducible conditions. They don't call it the "bleeding edge" for nothing, expect some blood letting. On Aug 3, 1:30 pm, Anton wrote: > Hi! > > Not for hosted mode. > (seehttp://code.google.com/intl/de-DE/webtoolkit/gettingstarted.html > - the note for Mac users at the top). > > I am on am Mac and have to use an old Java version because 1.6 is only > available in 64 bit on the Mac... > > Anton --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: Error message on 64 bit system
On Sun, Aug 2, 2009 at 7:24 AM, ubuntu_user 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.(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.(Display.java:126) > at com.google.gwt.dev.SwtHostedModeBase. > (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 -~--~~~~--~~--~--~---
Re: Error message on 64 bit system
Hi! Not for hosted mode. (see http://code.google.com/intl/de-DE/webtoolkit/gettingstarted.html - the note for Mac users at the top). I am on am Mac and have to use an old Java version because 1.6 is only available in 64 bit on the Mac... Anton --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Error message on 64 bit system
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.(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.(Display.java:126) at com.google.gwt.dev.SwtHostedModeBase. (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? Thanks, --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---