[1.1.0] Mac OS X 10.10.2: Java 6: SikuliX.app not working - no reaction at all --- fixed 20150328

Asked by Heiri

Hello,

SikuliX.app crashes, without leaving any information. Even if I create that debug file in the Application Support folder: Nothing is written into it.
During installation, all tests succeed.

Thanks

Question information

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

Just checked with the latest nightly build from today on my OS X 10.10.2:
works fine.

- downloaded setup
- selected option 1
- setup ended with success
- double-clicked SikuliX.app: started

If you really do not get any reaction:
- open a terminal session
- issue this command

java -Dsikuli.Debug=3 -jar <path-to-SikuliX.app>/Contents/Java/sikulix.jar

... and watch the output

SikuliX.app need not be in /Applications, but it is recommended as for any Mac app.

Another possible issue:
in SystemPreferences -> Security -> Privacy:
SikuliX.app must be listed in the list to the right and checked

But this should normally be signalled with a popup, if not yet allowed.

Revision history for this message
Heiri (phlomos) said :
#2

$ java -Dsikuli.Debug=3 -jar /Applications/SikuliX.app/Contents/Java/sikulix.jar
Exception in thread "main" java.lang.NoSuchMethodError: java.lang.System.lineSeparator()Ljava/lang/String;
 at org.sikuli.script.RunTime.<clinit>(RunTime.java:83)
 at org.sikuli.ide.SikuliIDE.run(SikuliIDE.java:168)
 at org.sikuli.ide.Sikulix.main(Sikulix.java:21)

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

You are running Java 6.

The mentioned function java.lang.System.lineSeparator() is only supported since Java 7 (I did not realise that).

Since with 1.1.x I want to be compatible with Java 6, I accept this as a bug.
Will be fixed in the nightly tomorrow.

If it is no problem for you, then you might install Java 7.

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

just started a new nightly build. will be ready in latest 1 h

Can you help with this problem?

Provide an answer of your own, or ask Heiri for more information if necessary.

To post a message you must log in.