Making GWT 1.5.x Hosted mode work in Ubuntu Karmic

Posted on October 12th, 2009 by admin  |  No Comments »

Since my last post on making hosted mode work on Ubuntu, I had upgraded my laptop to Kubuntu Karmic ( in Beta 1 as of this writing ). While most things worked out of the box ( including wireless, mic / webcam, ZTE AC2726 modem ), I got a problem with a GWT 1.5.3 application again.

GWT 1.5.3 hosted mode requires libstdc++5. Kubuntu Karmic doesn’t ship libstdc++ 5 anymore.

Fortunately, the solution was simple.
Download libstdc++5 package for your architecture from Ubuntu Package Archives.
I used i386 version

Install the package

sudo dpkg -i libstdc++5_*.deb

You should now be able to run GWT 1.5.x hosted mode browser running again. ( This might work for GWT 1.6.x as well considering that both use Mozilla 1.7.1x that depends on libstdc++5)

Tags: , ,

Making GWT Hosted Browser work in Eclipse on Ubuntu

Posted on July 10th, 2009 by Vijayakumar K  |  1 Comment »

For sometime now, we’ve been having an issue with GWT Hosted browser not starting from Eclipse and Ubuntu / Kubuntu.

The error that comes up is

1
2
3
4
5
6
7
8
9
10
11
12
13
** Unable to load Mozilla for hosted mode **
java.lang.UnsatisfiedLinkError: /opt/local/eclipse-3.4-SR2-jee/plugins/com.google.gwt.eclipse.sdkbundle.linux_1.6.4.v200904062334/gwt-linux-1.6.4/mozilla-1.7.12/libxpcom.so: libstdc++.so.5: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1767)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1663)
    at java.lang.Runtime.load0(Runtime.java:787)
    at java.lang.System.load(System.java:1022)
    at com.google.gwt.dev.shell.moz.MozillaInstall.load(MozillaInstall.java:190)
    at com.google.gwt.dev.BootStrapPlatform.initHostedMode(BootStrapPlatform.java:53)
    at com.google.gwt.dev.HostedModeBase.<init>(HostedModeBase.java:362)
    at com.google.gwt.dev.SwtHostedModeBase.<init>(SwtHostedModeBase.java:98)
    at com.google.gwt.dev.HostedMode.<init>(HostedMode.java:271)
    at com.google.gwt.dev.HostedMode.main(HostedMode.java:230)

It could be resolved by installing libstdc++5 library in Ubuntu. Ubuntu only has libstdc++6 installed by default.
You can install the dependency by installing libstdc++5 package from your package manager (KPackagekit or Adept or Synaptic ) or by running the following command in a console

sudo apt-get install libstdc++5

Once the installation is complete, you should be able to launch the GWT Hosted mode browser just fine.

Tags: , , ,

How to: Copy contents from file to file in VI editor

Posted on April 10th, 2008 by Venkat  |  No Comments »

Here is the tip to copy contents from one file to another.

1. Press ‘ESC’.
2. Press Shift+” (double quote).
3. Press ‘a’.
4. Press number of lines you want to copy.
5. Press y followed by another y (yy).
6. Now press : (COLON) to get the vi prompt.
7. Hit e “destination file name’
8. Once you enter the destination file, go to the line where you want the copied lines to be inserted.
9. Press ‘ESC’.
10. Press Shift+”(double quote).
11. Press ‘a’.
12  Press ‘p’.

Happy editing :-)

Tags: , ,

ALEUTIA E1 portable desktop runs on solar power

Posted on January 29th, 2008 by Venkat  |  No Comments »

ALEUTIA Your standard 500VA UPS will run for 6.5 hours during power cut without any additional battery. Surprising!!! Yes, Its true.

Aleutia E1, a small, portable computer which consumes just 8W of power (4% of what a typical (200W) desktop uses) during peak performance. Runs off a car battery or a cheap solar panel.

Powered with 200MHz x86 CPU, 128MB SDRAM and 1GB (included Compact Flash card). Its pre-loaded with Puppy Linux. For more details, visit ALEUTIA website. Watch the You tube video.

Tags:

Asus Eee PC – India launch on 29 Jan 2008

Posted on January 28th, 2008 by Venkat  |  No Comments »

Eee PC

Asus launching Eee PC on 29-Jan-2008 at Mumbai.

What is Eee PC and what it can do for you?

Share photos of your travels without waiting till you get home. Shop the world wide web without attaching any lines or wires. Learn through the latest technology without a technical manual. Play, relax, and entertain on the go with shock-proof design. Connect with friends and family with just a few clicks. More specification details about Eee PC are available here.

People interested in purchasing Eee PC should directly contact Asus Mumbai Headquarters. You can book your PC at Asus Website. Asus does not hold the responsibility of sending across the product, customers will manually have to come and collect the Eee PC.

Tags: ,

Linux kernel-2.6.24 released

Posted on January 25th, 2008 by Venkat  |  No Comments »

The Linux kernel version 2.6.24 has been released and available for download. You can grab the latest kernel from the official site.

“Linus Torvalds has released the 2.6.24 Linux Kernel, noting that he and most of the other key Linux developers will be flying to a conference in Australia for the next week. As the whole team will be down under while the kernel is being tested by the masses, Linus added, “Let’s hope it’s a good one“. What’s new in the latest release includes an optimized CFQ scheduler, numerous new wireless drivers, tickless kernel support for the x86-64 and PPC architectures, and much more. Time to download and start compiling.

Tags:

WordPress Plugin: IM Online

Posted on January 22nd, 2008 by Venkat  |  No Comments »

Want to show your current online status on your blog… Its very simple…!!!

IM Online: A neat little Wordpress plugin will show your current online status. It supports most IM services including AOL, MSN, Yahoo, Jabber (inc. Google Talk), Skype and ICQ.

You can show as many or as few IM network icons as you like and all options are configurable through the control panel.

Download IM Online

Installation instructions

  1. Unzip the downloaded package and drop the IM-Online folder in your Wordpress plugins folder
  2. Log into your WordPress admin panel
  3. Go to Plugins and “Activate” the plugin
  4. Go to Presentation, Widgets
  5. Drag the IM Online widget onto your sidebar panel
  6. Click the Widget-Options button (small blue-topped square)
  7. Enter the title for your Widget
  8. Return to the Widget panel and click “Save changes »”
  9. Go to Options, then IM Online
  10. Enter your account details for each service you use
  11. Click “Save changes »”
  12. Check your blog to see if it’s working!

Tags: ,

Firefox tricks: Use keywords to speed up bookmarks

Posted on December 21st, 2007 by Venkat  |  No Comments »

Visiting your favorite sites using Firefox’s bookmarks is far too much of a chore — do you really want to do all that mousing around? Instead, you can use keywords to instantly jump to any site you’ve bookmarked. To do it, after you bookmark a site, right-click on the bookmark, select Properties, type in a short keyword (or even just a letter or two) in the keyword field and click OK. Now, to visit the site, type in the keyword in Firefox’s address bar, and you’ll jump straight to the site.

Tags: ,

Firefox tricks: Speed up Firefox with pipelining

Posted on December 20th, 2007 by Venkat  |  No Comments »

Here’s a simple way to speed up Web browsing with Firefox — turn on its hidden pipelining feature. When you turn on pipelining, you send several requests to a Web server at a time, rather than sending them one by one, so you can load multiple items on a page concurrently. By default, pipelining is turned off in Firefox, but it’s easy to turn it on:

1. Type about:config into your address bar and hit Enter.

2. In the Filter text box, at the top of the page, type network.http. A list of settings appears, as you can see in the nearby figure.

3. Double-click the “network.http.pipelining” setting, to change it to true.

4. Double-click the “network.http.proxy.pipelining” setting, to change it to true.

5. Double-click the “network.http.pipelining.maxrequests” setting, and in the text box that appears, type in 8 and click OK.

Note that not all Web servers can handle pipelining. If for some reason, you find that your performance suffers with it turned on, reverse the above steps to turn it off.

Tags: ,

IBM joins OOo with full force

Posted on October 12th, 2007 by Venkat  |  No Comments »

IBM has joined the OpenOffice.org community to collaborate on the development to OpenOffice.org software. OOo now has the support of two industry giants, Sun and IBM. IBM will make initial code contributions that it has been developing as part of its Lotus Notes product, including accessibility enhancements, and will also make ongoing contributions to the feature richness and code quality of OpenOffice.org. Besides working with the community on the free productivity suite’s software, IBM will also leverage OpenOffice.org technology in its products.

Tags: ,