GWT hosted web browser does not work in 64-bit Linux
Exception in thread “main” java.lang.UnsatisfiedLinkError: /…/gwt-linux-1.7.0/libswt-pi-gtk-3235.so: /…/gwt-linux-1.7.0/libswt-pi-gtk-3235.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
To solve the problem, install a 32bit version of jre
sudo aptitude install ia32-sun-java5-bin
Then follow the steps
Also install a 32-bit JVM; you can download directly from Sun and install somewhere on your system http://java.sun.com/javase/downloads/index.jsp
Register this JVM with Eclipse: Windows -> Preferences Java -> Installed JREs Add… -> (Use a name like “jdk1.6.0_07 32-bit”)
Modify your *.launch files to explicitly use a 32-bit JRE Run -> Run Configurations… Java Application -> (Your launch config) JRE -> Alternate JRE -> (select 32-bit JVM setup in previous step)
Modify your “-shell” scripts to explicitly use the 32-bit JVM. Your “-compile” scripts can continue to use the default 64-bit Java
(see also http://code.google.com/p/google-web-toolkit/issues/detail?id=134#c39 )
Leave a comment