problems with GWT on Ubuntu Linux

    For a long time I wanted to start learning GWT (Google Web Toolkit), but there was no time. Here today I found a couple of hours.
    I downloaded the latest version of GWT-1.7.1.
    Here is the simplest Hello World with a button for the compile. When launched, it throws exceptions
    [java] ** Unable to load Mozilla for hosted mode **
    gwt-linux-1.7.1 / mozilla-1.7.12 / libxpcom.so: libstdc ++. So.5: cannot open
    shared object file: No such file or directory

    The latest version of GWT uses the libstdc ++. so.5 library, which is strange because it is now current version 6.
    This was not the case in standard turnips, so I had to look for it.
    There was a solution to the problem:
    wget es.archive.ubuntu.com/ubuntu/pool/universe/g/gcc-3.3/libstdc++5_3.3.6-17ubuntu1_i386.deb
    mkdir tmp
    mv libstdc ++ 5_3.3.6-17ubuntu1_i386.deb tmp
    cd tmp /
    dpkg -x libstdc ++ 5_3.3.6-17ubuntu1_i386.deb libstdc ++ 5
    cd libstdc ++ 5 / usr / lib /
    sudo cp libstdc ++. so.5.0. 7 / usr / lib
    cd / usr / lib
    sudo ln -s libstdc ++. So.5.0.7 libstdc ++. So.5

    PS I wonder why the fifth version of libstdc ++ is used?

    Also popular now: