Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed zekr Quran study software on ubuntu 12.04 and I upgraded to 12.10. then the zekr app has been giving me this error when ever I start it.

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.<init>(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.<init>(QuranForm.java:319)
    at net.sf.zekr.ZekrMain.startZekr(ZekrMain.java:51)
    at net.sf.zekr.ZekrMain.main(ZekrMain.java:94)

Please Advice me

share|improve this question

3 Answers 3

this just work for me sudo apt-get install libwebkitgtk-1.0-0

the origenal topic: http://stackoverflow.com/questions/12125044/open-eclipse-juno-with-error-no-more-handles-in-ubuntu-12-04?answertab=votes#tab-top

share|improve this answer

Open a terminal and use this command:

sudo apt-get update
sudo apt-get install tcsh

and run tcsh command in the terminal and the two command to set the environmental variable

tcsh
setenv MOZILLA_FIVE_HOME /usr/lib/mozilla
setenv LD_LIBRARY_PATH ${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}

Now, try to execute the application again. It should be launched without errors.

(Source)

share|improve this answer
    
z3r0n@Blue-Box:~$ setenv MOZILLA_FIVE_HOME /usr/lib/mozilla No command 'setenv' found, did you mean: Command 'netenv' from package 'netenv' (universe) setenv: command not found z3r0n@Blue-Box:~$ setenv LD_LIBRARY_PATH ${MOZILLA_FIVE_HOME}:${LD_LIBRARY_PATH}No command 'setenv' found, did you mean: Command 'netenv' from package 'netenv' (universe) setenv: command not found –  Ismail Yushaw Oct 21 '12 at 18:04
    
I encountered errors after using the command... it is not installed. I dont have eclipse installed could it be another factor –  Ismail Yushaw Oct 21 '12 at 18:16
    
@AcessDenied You needed to install tcsh. I've updated the answer. Check now –  Anwar Shah Oct 22 '12 at 4:47
    
still i get that error... No command 'setenv' found, did you mean: Command 'netenv' from package 'netenv' (universe) setenv: command not found –  Ismail Yushaw Oct 22 '12 at 12:51
1  
PLease put your updates in your QUESTION! Not buried in the comments! –  Jorge Castro Oct 23 '12 at 15:12

Selamun aleykum,

Put the following code at the beginning of zekr.sh (located in /usr/bin) (if your firefox is installed in /usr/lib/firefox):

export MOZILLA_FIVE_HOME=/usr/lib/firefox

Source: http://zekr.org/wiki/Installation#Other_Linux_distributions

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.