TextRecognition within Java (SikuliApi 1.1.4)

Asked by Joost Voskuil

I'm using the 1.1.4 version of the sikuliapi.jar file within a java solution.
Code:

package Tests;

import org.junit.Test;
import org.sikuli.script.Screen;

public class MyTest
{
    @Test
    public void testA() throws Exception
    {
        Screen s = new Screen();
        s.findText("Text");
    }
}

When I run the test I receive an error: [error] RunTimeAPI: *** terminating: TextRecognizer: start: native libraries not found

What am I doing wrong here? Do I need the Tess4J libs aswell? I am confused about the scripts jar file, that is obsolete right?

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Joost Voskuil
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

I guess you are on Linux.

... not yet working - see docs

Revision history for this message
Joost Voskuil (joost81) said :
#2

osx. think the same issue. Thank you