Fixing SWT/Eclipse after updating to Firefox RC1 on Ubuntu

Recently I have upgraded to  Firefox RC1,

After a day, I have noticed that my RCP application is not working. After spending almost 1 hr I find out that it is the problem with SWT Browser component.

The exception in the lof is as follows

org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3349 or swt-mozilla-gtk in swt.library.path, java.library.path or the jar file)
at org.eclipse.swt.SWT.error(
at org.eclipse.swt.SWT.error(
at org.eclipse.swt.browser.Mozilla.create(
at org.eclipse.swt.browser.Browser.<init>(

If you also came across such an issue, here is the fix.