I'll start by saying that I'm using Netbeans and Java (JDK 8 x64). I've installed Sikuli selecting the option to install the Sikuli IDE as well as the option for it to work with other IDEs.

When using the Sikuli IDE it finds the images fine without any issue. When I copy that image into my project resource folder and try to find it via my project in Netbeans, it won't find it.

I believe the version that I'm using is 1.0.1 for Sikuli.

Here is the test code I am trying:

```
public class TestSikuli {

    public static void main(String[] args) {
        Screen s = new Screen();
        try{
            s.click("resources/startBtn.png");
        } catch(FindFailed e){
            e.printStackTrace();
        }
    }

}

```

I'm assuming it doesn't know where resources/startBtn.png is. So I've tried using 

ImageLocator.addImagePath(System.getProperty("user.dir" + File.separator + "resources")

However, when printing out the contents of ImageLocator.getImagePath() it doesn't appear to ever add the image path.

My question seems to be, what are the necessary steps to get Sikuli to work in Netbeans for Java. I've stumbled across some setup steps for Jython, but I wasn't sure if those were necessary for Java as it seems a bit convoluted. 

Do I need to add something to my PATH? Do I need to add another environment variable? All I've done up to this point is use the installer and then add the jar to my Netbeans Project.

Any and all advice will be appreciated. I've been searching for a proper answer to this for a few days and figured I would just resort to asking StackOverflow.

*edit:* Added Eclipse to the tags due to the assumption that the process of integrating Sikuli should be relatively similar for each IDE.