Saturday, August 7, 2010

Google Web Tool Kit on 64 bit Ubuntu OS

I see many posts abut trying to run Google Web Toolkit in a 64 bit Linux environment, the toolkit seems to be trying
to use 32 bit libraries when automatically starting Mozilla for testing. 
The error looks something like this...
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /opt/app/eclipse/plugins/org.eclipse.platform_3.5.0_155965261/
mozilla-1.7.12/ cannot open shared object file: No such file or directory
My solution to this was to force install a 32bit library ( into my 32 bit Ubuntu OS.
sudo dpkg -i --force-architecture ./libstdc++5_3.3.6-17ubuntu1_i386.deb
GWT should now be able to start up using the Mozilla libraries.  Good luck! 

No comments: