I am also using 64 bit Linux, and have had the same problems. But a little patience helped me to get past those errors.
Here are my observations - a) First and foremost - GWT compiles everything into javascript. So, you don't have to mess with anything on your server. They can continue to use 64 bit jvms and gwt will just work. The problems you are facing are only restricted to your development environment b) The GWT Compiler (gwtc) works well with 64 bit JVMs without any fuss. c) The hosted mode browser requires a 32 bit compiler. But google has stopped recommending this browser for a long time. Instead, you should get hold of gwt-oophm.jar and use it for development purposes. This way, you can run and test your application in firefox (and use firebug, which is a must). Also, this works well with 64 bit JVM. d) When you get into serious development, you'd want to start writing GWTTestCases. GWT Test Case internally uses HostedMode.. So far, I haven't found an alternative for that - I just had to install 32 bit JVM to get test cases running on my box. The only issue is that gwt-oophm.jar isn't directly available as part of the official google release, so you'd have to build it from source. It is very easy and painless to do it, and you will be happy with the results. Just follow instructions http://code.google.com/webtoolkit/makinggwtbetter.html#workingoncode and you will get the binaries inside the build/dist folder. --Sri On Sep 7, 4:39 am, Paul Robinson <[email protected]> wrote: > The next release (2.0) will support 64 bit directly. Or, you can use GWT > from trunk and do it now with OOPHM. > > http://code.google.com/p/google-web-toolkit/wiki/UsingOOPHM > > John s wrote: > > This is my first 20 minutes (and maybe the last) ride on GWT and I'm > > very frustrated by these kind of errors. > > Come on , 64bit PC(especially linux) is out for 7 years already. > > shouldn't it be supported by all kind of toolkits and frameworks ?! > > This kind of annoyances reminds me Adboe flash / Java browser plugin. > > That's not the open source spirit. > > I don't want to install 32bit JDK and mess around with my server > > packages , > > please make it work natively on 64bit machines. > > > 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:1003) > > 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. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
