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.
Thanks,
it worked also for me on ubuntu 7.10 . Thanks for this post!
Loïc
Another thumbs up for Ubuntu 8.04
on Ubuntu :
sudo apt-get install libstdc++5
this solved my problem
> on Ubuntu :
> sudo apt-get install libstdc++5
> this solved my problem
Me to!
Thanks, It works on Ubuntu Studio 8.04!
I love you
, It works with 1.5.3 on fedora 9
Worked for me in Fedora Core 10
I found this site from searching on Google and just wanted to say thanks for this informational article on dieting using xoco. Thanks again!