[How to] Get Zekr 1.1.0 Works in Ubuntu 12.10

Bismillahirrahmanirrahim.
Previously, I got an error message every time I launched Zekr (a multiplatform Quran study tool, that I also use its Windows version) in Ubuntu 12.10. The error message was just like this:

org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)]
at org.eclipse.swt.SWT.error(SWT.java:4387)
at org.eclipse.swt.browser.Mozilla.initMozilla(Mozilla.java:1939)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:699)
at org.eclipse.swt.browser.Browser.(Browser.java:99)
at net.sf.zekr.ui.QuranForm.makeFrame(QuranForm.java:628)
at net.sf.zekr.ui.QuranForm.init(QuranForm.java:340)
at net.sf.zekr.ui.QuranForm.(QuranForm.java:319)
at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
at net.sf.zekr.ZekrMain.main(ZekrMain.java:94)

I tried several ways in order to solve the problem, but these are FAILED:
– Updating Java to the latest version (Oracle, not OpenJDK, ver.8)
– Using ‘setenv’ command under ‘tcsh’ to redirect ‘MOZILLA_FIVE_HOME’ to ‘/usr/lib/mozilla’ just like what A.S. advised at askubuntu.com

But then, Alhamdulillah, I tried another opinion listed there and now the Zekr runs properly. Here is the solution step by step:

  • launch terminal, run ‘sudo gedit’, enter the root password.
  • in gedit, open ‘/usr/bin/zekr.sh’
  • type (without appostrophe) ‘export MOZILLA_FIVE_HOME=/usr/lib/firefox’ at the beginning of the code
  • save, then close the gedit window.

After doing this, the Zekr will work properly again, insyaAllah.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s