Sep
26
GWT Hosted Mode on 64 Bit Ubuntu
As far as I know this still works (for GWT 1.7) but has become obsolete with the release of GWT 2.0!
Here’s how I got GWT 1.7 Hosted Mode to work on my 64 bit Ubuntu Karmic Koala 9.10 laptop. These instructions should also work on Jaunty (9.04)
- Install ia32-sun-java6-bin:
sudo apt-get install ia32-sun-java6-bin
- Make sure the default Java installation remains the 64 bit one
sudo update-java-alternatives --set java-6-sun
- Download libstdc++5 for IA32 from Jaunty repos: http://archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
- Extract the libstdc++.so.5 file
dpkg-deb --fsys-tarfile libstdc++5_3.3.6-17ubuntu1_i386.deb | tar -O --extract './usr/lib/libstdc++.so.5.0.7' > libstdc++.so.5
- Move the extracted file to /usr/lib32
sudo mv libstdc++.so.5 /usr/lib32
- Run
sudo ldconfig
- Start GWT:
JAVA_HOME=/usr/lib/jvm/ia32-java-6-sun mvn gwt:run