Unable to get Sikuli 1.1.4 operational

Asked by Joseph Maruca on 2019-01-03

Hello Support,
I have just installed Java v8 on a Windows 7 & Windows 10 machine and recently downloaded the following files:
sikulix.jar
sikulixapi.jar
jython-standalone-2.7.1.jar

When double-clicking on the sikulix.jar file, I get the following error:

Exception in thread "main" java.lang.RuntimeException: SikuliX: fatal: Java arch not 64 Bit or not detected (java 8 version 1.8 vm 25.191-b12 class 52.0 arch null)
        at org.sikuli.script.RunTime.terminate(RunTime.java:71)
        at org.sikuli.script.RunTime.get(RunTime.java:288)
        at org.sikuli.ide.SikulixRunIDE.main(SikulixRunIDE.java:36)

Can you please assist?. I do have Sikuli v1.1.3 working but not the latest version, appreciate your assistance, thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Joseph Maruca
Solved:
2019-01-10
Last query:
2019-01-10
Last reply:
2019-01-04
masuo (masuo-ohara) said : #1

Do you want to use SikuliX1.1.4?
SikuliX1.1.4 requires 64-Bit systems and also 64-Bit java runtime.

There is an explanation.
http://sikulix.com/

Joseph Maruca (jmaruca) said : #2

Hi Masuo,
Yes, given that it is the latest version, I would like to use 1.1.4 and yes, I have tried to install it on x64 Operating System and have installed the x64 bit JAVA version. I have followed the instructions, but still getting this error. I am very keen to get this working …. thank you, Joe

RaiMan (raimund-hocke) said : #3

--1. what do you get, when you run on a command line:
java -version

--2. run form a commandline:
java -jar <path-to>\sikulix.jar -v

and look at the debug log

RaiMan (raimund-hocke) said : #4

just installed a the latest Java 8 (191) 64-Bit on my Windows 10:
works as expected

... so you have to check/revise your system setup

Joseph Maruca (jmaruca) said : #5

Hi Raiman,
Just to answer your questions above:
java -version:
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) Client VM (build 25.191-b12, mixed mode, sharing)

D:\Sikuli>java -jar sikulix.jar
Exception in thread "main" java.lang.RuntimeException: SikuliX: fatal: Java arch not 64 Bit or not detected (java 8 version 1.8 vm
 25.191-b12 class 52.0 arch null)
        at org.sikuli.script.RunTime.terminate(RunTime.java:71)
        at org.sikuli.script.RunTime.get(RunTime.java:288)
        at org.sikuli.ide.SikulixRunIDE.main(SikulixRunIDE.java:36)
D:\Sikuli>
U have checked my system setup. This is happening on both Win 7 & 10 machines running x64 bit, thoughts?, thank you Joe

RaiMan (raimund-hocke) said : #6

This is not a 64-Bit Java, but must be.

Joseph Maruca (jmaruca) said : #7

Hi RaiMan,
Yes, you are correct; uninstalled JAVA and loaded the actual x64 Bit version and it worked, thanks for your help.