java.lang.UnsatisfiedLinkError happens when i try to use App.open()

Asked by Mikhail

Use Sikuli in IDE Eclipse on OS X 10.10.5
Try to use App.open("Google Chrome");
Next error happens:

java.lang.UnsatisfiedLinkError: org.sikuli.natives.MacUtil._openApp(Ljava/lang/String;)Z
 at org.sikuli.natives.MacUtil._openApp(Native Method)
 at org.sikuli.natives.MacUtil.open(MacUtil.java:126)
 at org.sikuli.script.App.open(App.java:425)
 at org.sikuli.script.App.open(App.java:416)

POM.xml
...
<dependency>
 <groupId>com.sikulix</groupId>
 <artifactId>sikulixapi</artifactId>
 <version>1.1.0-SNAPSHOT</version>
</dependency>
...
<repository>
 <id>com.sikulix</id>
 <name>com.sikulix</name>
 <url>https://oss.sonatype.org/content/groups/public</url>
 <layout>default</layout>
 <snapshots>
 <enabled>true</enabled>
 <updatePolicy>always</updatePolicy>
 </snapshots>
</repository>
...

The question is how can I fix it?

Revision history for this message
carl (maibannato) said :
#1

in the spirit of sharing..

App.open("Google Chrome");
I use windows and I need to write
App.open("C://directory//Goggle Chrome.exe")

Revision history for this message
Mikhail (zlobogolik) said :
#2

The same error in case if I point full path to the app.
This method used to work in previous version of Sikuli (1.0.1). Unfortunately now it doesn't

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I have to check and fix. Therefor made it a bug.