gwt 64

user-pic
Vote 0 Votes

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

  1. 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

  2. Register this JVM with Eclipse: Windows -> Preferences Java -> Installed JREs Add… -> (Use a name like “jdk1.6.0_07 32-bit”)

  3. 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)

  4. 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 )

No TrackBacks

TrackBack URL: http://romeo-foxtrot.com/mt/mt-tb.cgi/77

Leave a comment

About this Entry

This page contains a single entry by Frank Ren published on September 26, 2009 4:00 PM.

java delete non-empty directory / folder with files inside recursively was the previous entry in this blog.

mount windows shared folder into a directory under linux is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.