Thursday, May 26, 2011 cannot open shared object file

Fix the error

** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /home/alexey/java/maven-2.2.1/repository/1/gwt-linux-1.7.1/mozilla-1.7.12/ cannot open shared object file: No such file or directory

For the 32 Bit Ubuntu:

sudo dpkg -i libstdc++5_3.3.6-20~karmic1_i386.deb

For the 64 Bit Ubuntu:

sudo dpkg --force-architecture -i libstdc++5_3.3.6-20~karmic1_i386.deb
sudo mv /usr/lib/* /usr/lib32/
sudo dpkg -i libstdc++5_3.3.6-20~karmic1_amd64.deb

You must use a 32-bit Java runtime to run GWT Hosted Mode.

Fix the error

You must use a 32-bit Java runtime to run GWT Hosted Mode.

Download the 32 bit JDK ( and add executable, and execute. This is unpacked it.

Add the unpacked JDK to the Eclipse at menu Window -> Preferences -> Java -> Installed JREs Click "Add..." and select Standard VM - > Next -> select Directory... inside unpacked JDR with /jre folder.

Download JDK 6u25 linux 64

Чтобы скачать jre а не jdk, просто меняем "jdk-6u25-linux-x64.bin" на "jre-6u25-linux-x64.bin"

jdk-6u25-linux-i586-rpm.bin - Linux x86 - RPM Installer, size 76.85 MB
jdk-6u25-linux-i586.bin - Linux x86 - Self Extracting Installer, size 81.11 MB
jdk-6u25-linux-x64-rpm.bin - Linux x64 - RPM Installer, size 77.06 MB
jdk-6u25-linux-x64.bin - Linux x64 - Self Extracting Installer, size 81.36 MB - Solaris x86 - Self Extracting Binary, size 81.00 MB
jdk-6u25-solaris-i586.tar.Z - Solaris x86 - Packages - tar.Z, size 136.67 MB - Solaris SPARC - Self Extracting Binary, size 85.96 MB
jdk-6u25-solaris-sparc.tar.Z - Solaris SPARC - Packages - tar.Z, size 141.11 MB - Solaris SPARC 64-bit - Self Extracting Binary, size 12.24 MB
jdk-6u25-solaris-sparcv9.tar.Z - Solaris SPARC 64-bit - Packages - tar.Z, size 15.58 MB - Solaris x64 - Self Extracting Binary, size 8.49 MB
jdk-6u25-solaris-x64.tar.Z - Solaris x64 - Packages - tar.Z, size 12.25 MB
jdk-6u25-windows-i586.exe - Windows x86, size 76.66 MB
jdk-6u25-windows-x64.exe - Windows x64, size 67.27 MB