← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #221627]: Unsatisfied Link Error With Sikuli-IDE.app Correctly in the Applications Folder

 

Question #221627 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/221627

    Status: Open => Answered

RaiMan proposed the following answer:
There is a bug in the current Sikuli version using Java:
the Screen class must be instantiated before the App class is used.

easiest workaround:

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

public class MacTest
{
    @Test
    public void testMacTest()
    {
        new Screen();
        App.open("Firefox");
    }
}

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.