18 Nisan 2009 Cumartesi

GWT : "wrong ELF class: ELFCLASS32" Error in x64 Linux machine

When I tried to run my web application through eclipse debugger (in hosted mode), I got the following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/share/myprograms/ECLIPSEHOME/eclipse-ganymede/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-pi-gtk-3235.so (/usr/share/myprograms/ECLIPSEHOME/eclipse-ganymede/eclipse/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32)
However, no problem in Windows XP.
After a bit googling, I bumped into the following sites:
http://code.google.com/p/gwt-examples/wiki/gwtEclipseFaqs#Running_32bit_JVM_for_GWT (Problems With GWT and 64bit JVM section)
http://code.google.com/p/google-web-toolkit/issues/detail?id=134 (comment 39, comment 41)
http://code.google.com/p/google-web-toolkit/issues/detail?id=135 (comment 30)
I have just installed 32 bit jvm and set debug configuration for my app as it, and problem solved :)

Hiç yorum yok:

Yorum Gönder