← Back to team overview

sikuli-driver team mailing list archive

[Question #292420]: Sikuli set jar file is throwing error in Ubuntu16.04

 

New question #292420 on Sikuli:
https://answers.launchpad.net/sikuli/+question/292420

Hi
I have machine having Ubuntu 16.04. I tried to install the Sikuli using "java -jar sikulixsetup-1.1.1-20160329.231054-24-forsetup.jar" but it's throwing below error.  Java version installed is openjdk version "9-internal".

I used same sikuli jar file on Ubuntu14.04 with JDK version "openjdk-7-jre-headless_7u95-2.6.4-0ubuntu0.12.04.2_amd64", it working fine for me. But it's throwing error on Ubuntu 16.04 with Java version installed is openjdk version "9-internal".

Can someone please help me.

All per-requistes, i have installed already in my case.
sudo apt-get -y  install libcv-dev
sudo apt-get -y  install libtesseract3
sudo apt-get -y  install wmctrl
sudo apt-get -y  install xdotool 

root@:~/SikuliX# java -version
openjdk version "9-internal"
OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src)
OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)

root@:~/SikuliX# java -jar sikulixsetup-1.1.1-20160329.231054-24-forsetup.jar 
Exception in thread "main" java.lang.ExceptionInInitializerError
	at org.sikuli.basics.Debug.log(Debug.java:704)
	at org.sikuli.basics.Debug.logx(Debug.java:675)
	at org.sikuli.script.RunTime.log(RunTime.java:100)
	at org.sikuli.script.RunTime.get(RunTime.java:185)
	at org.sikuli.setup.RunSetup.main(RunSetup.java:165)
Caused by: java.lang.NumberFormatException: For input string: "i"
	at java.lang.NumberFormatException.forInputString(java.base@9-internal/NumberFormatException.java:65)
	at java.lang.Integer.parseInt(java.base@9-internal/Integer.java:695)
	at java.lang.Integer.parseInt(java.base@9-internal/Integer.java:813)
	at org.sikuli.basics.Settings.<clinit>(Settings.java:123)
	... 5 more

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.