When i execute the command "java -jar jtOCR.jar" in ubuntu-8.04
i got the following exception

java.io.IOException: Cannot run program "/usr/local/share/jtOCR/
tesseract/tesseract" (in directory "/root/Desktop"):
java.io.IOException: error=13, Permission denied
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
        at net.sourceforge.jtocr.OCR.recognizeText(OCR.java:50)
        at net.sourceforge.jtocr.Gui$39.run(Gui.java:1068)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:
269)
        at
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:
184)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:
174)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
169)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:
161)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.io.IOException: java.io.IOException: error=13,
Permission denied
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:148)
        at java.lang.ProcessImpl.start(ProcessImpl.java:65)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:453)
        ... 10 more
and also in jtOCR applet i got the dialog box as

"cannot find tesseract. please set its path".

Please help me.

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en.

Reply via email to