Installing GWT 1.4 in Fedora 8 is very simple.
Just download GWT 1.4 for Linux from Google and extract it to your home directory. After you extracted it, you can simply test it if this will work well in your system.
Basically to create a new application without using eclipse,
applicationCreator com.sample.client.HelloWorld
After creating the application we tried to run it. There are two ways to execute the application, in the web mode and in the hosted mode.
In web mode, we compile it first and execute the code
sh HelloWorld-compile
And this should run successfully.
How about running the application in the hosted mode?
sh HelloWorld-shell
In Fedora 8 this should run with errors. It says like,
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /home/Cyrus/gwt-linux-1.4.60/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory
Here is the explanation,
These are NOT included with the Fedora 8 DVD and must be downloaded online (ftp, yum, etc).”
The solution is to install them in your distro.
su -c 'yum -y install compat-libstdc++-33 compat-libstdc++-296'
Good! Try to run your application again in host mode. It will smoothly run then.