sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38860
Re: [Question #296148]: Sikuli not run on Ubuntu 16
Question #296148 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/296148
YeTr2 proposed the following answer:
so, the reason it isn't working from the package on my system is because
not all the dependencies were pulled in when I looked at installing it
on my system. not because of what ever RaiMan is blathering on about.
$ cat /usr/bin/sikuli-ide
#!/bin/sh
LC_NUMERIC=C exec /usr/bin/java \
-cp \
/usr/share/java/guava.jar:\
/usr/share/java/jnr-posix.jar:\
/usr/share/java/jaffl.jar:\
/usr/share/java/jna.jar:\
/usr/share/java/asm3.jar:\
/usr/share/java/asm3-commons.jar:\
/usr/share/java/antlr3-runtime.jar:\
/usr/share/java/jnr-constants.jar:\
/usr/share/java/jnr-ffi.jar:\
/usr/share/java/jython.jar:\
/usr/share/java/commons-cli.jar:\
/usr/share/java/JXGrabKey.jar:\
/usr/share/java/json-simple.jar:\
/usr/share/java/swing-layout.jar:\
/usr/share/java/swingx-core.jar:\
/usr/share/java/jgoodies-common.jar:\
/usr/share/java/forms.jar:\
/usr/share/java/mac_widgets.jar:\
/usr/share/java/junit.jar:\
/usr/share/sikuli/sikuli-ide.jar:\
/usr/share/java/sikuli-script.jar \
-Dsikuli.console=true \
-Dsikuli.debug=0 \
-Xms64M -Xmx512M \
-Dfile.encoding=UTF-8 \
-Dpython.home=/usr/share/jython \
-Dpython.path="/usr/share/sikuli/Lib" \
-Dpython.cachedir=$HOME/.jython-cache \
org.sikuli.ide.SikuliIDE "$@"
$ file /usr/share/java/guava.jar /usr/share/java/jnr-posix.jar /usr/share/java/jaffl.jar /usr/share/java/jna.jar /usr/share/java/asm3.jar /usr/share/java/asm3-commons.jar /usr/share/java/antlr3-runtime.jar /usr/share/java/jnr-constants.jar /usr/share/java/jnr-ffi.jar /usr/share/java/jython.jar /usr/share/java/commons-cli.jar /usr/share/java/JXGrabKey.jar /usr/share/java/json-simple.jar /usr/share/java/swing-layout.jar /usr/share/java/swingx-core.jar /usr/share/java/jgoodies-common.jar /usr/share/java/forms.jar /usr/share/java/mac_widgets.jar /usr/share/java/junit.jar /usr/share/sikuli/sikuli-ide.jar /usr/share/java/sikuli-script.jar
/usr/share/java/guava.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jnr-posix.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jaffl.jar: cannot open `/usr/share/java/jaffl.jar' (No such file or directory)
/usr/share/java/jna.jar: cannot open `/usr/share/java/jna.jar' (No such file or directory)
/usr/share/java/asm3.jar: symbolic link to asm3-3.3.2.jar
/usr/share/java/asm3-commons.jar: symbolic link to asm3-commons-3.3.2.jar
/usr/share/java/antlr3-runtime.jar: cannot open `/usr/share/java/antlr3-runtime.jar' (No such file or directory)
/usr/share/java/jnr-constants.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jnr-ffi.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jython.jar: symbolic link to jython-2.5.3.jar
/usr/share/java/commons-cli.jar: cannot open `/usr/share/java/commons-cli.jar' (No such file or directory)
/usr/share/java/JXGrabKey.jar: symbolic link to JXGrabKey-0.3.2.jar
/usr/share/java/json-simple.jar: cannot open `/usr/share/java/json-simple.jar' (No such file or directory)
/usr/share/java/swing-layout.jar: symbolic link to swing-layout-1.0.4.jar
/usr/share/java/swingx-core.jar: Zip archive data, at least v1.0 to extract
/usr/share/java/jgoodies-common.jar: Zip archive data, at least v1.0 to extract
/usr/share/java/forms.jar: symbolic link to jgoodies-forms.jar
/usr/share/java/mac_widgets.jar: symbolic link to mac_widgets-0.10.0+svn416.jar
/usr/share/java/junit.jar: symbolic link to junit-3.8.2.jar
/usr/share/sikuli/sikuli-ide.jar: Java archive data (JAR)
/usr/share/java/sikuli-script.jar: symbolic link to sikuli-script-1.0~x~rc3.tesseract3.jar
$ apt install libantlr3-runtime-java libjna-java libcommons-cli-java libjson-simple-java
$ file /usr/share/java/guava.jar /usr/share/java/jnr-posix.jar /usr/share/java/jaffl.jar /usr/share/java/jna.jar /usr/share/java/asm3.jar /usr/share/java/asm3-commons.jar /usr/share/java/antlr3-runtime.jar /usr/share/java/jnr-constants.jar /usr/share/java/jnr-ffi.jar /usr/share/java/jython.jar /usr/share/java/commons-cli.jar /usr/share/java/JXGrabKey.jar /usr/share/java/json-simple.jar /usr/share/java/swing-layout.jar /usr/share/java/swingx-core.jar /usr/share/java/jgoodies-common.jar /usr/share/java/forms.jar /usr/share/java/mac_widgets.jar /usr/share/java/junit.jar /usr/share/sikuli/sikuli-ide.jar /usr/share/java/sikuli-script.jar
/usr/share/java/guava.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jnr-posix.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jaffl.jar: cannot open `/usr/share/java/jaffl.jar' (No such file or directory)
/usr/share/java/jna.jar: symbolic link to jna-4.2.2.jar
/usr/share/java/asm3.jar: symbolic link to asm3-3.3.2.jar
/usr/share/java/asm3-commons.jar: symbolic link to asm3-commons-3.3.2.jar
/usr/share/java/antlr3-runtime.jar: Java archive data (JAR)
/usr/share/java/jnr-constants.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jnr-ffi.jar: Zip archive data, at least v2.0 to extract
/usr/share/java/jython.jar: symbolic link to jython-2.5.3.jar
/usr/share/java/commons-cli.jar: symbolic link to commons-cli-1.3.1.jar
/usr/share/java/JXGrabKey.jar: symbolic link to JXGrabKey-0.3.2.jar
/usr/share/java/json-simple.jar: Java archive data (JAR)
/usr/share/java/swing-layout.jar: symbolic link to swing-layout-1.0.4.jar
/usr/share/java/swingx-core.jar: Zip archive data, at least v1.0 to extract
/usr/share/java/jgoodies-common.jar: Zip archive data, at least v1.0 to extract
/usr/share/java/forms.jar: symbolic link to jgoodies-forms.jar
/usr/share/java/mac_widgets.jar: symbolic link to mac_widgets-0.10.0+svn416.jar
/usr/share/java/junit.jar: symbolic link to junit-3.8.2.jar
/usr/share/sikuli/sikuli-ide.jar: Java archive data (JAR)
/usr/share/java/sikuli-script.jar: symbolic link to sikuli-script-1.0~x~rc3.tesseract3.jar
$ sikuli-ide
Jul 12, 2016 3:43:28 PM java.util.prefs.FileSystemPreferences$1 run
INFO: Created user preferences directory.
[info] locale: en_US
*sys-package-mgr*: processing new jar, '/usr/share/java/guava.jar'
*sys-package-mgr*: processing new jar, '/usr/share/java/jnr-posix.jar'
*sys-package-mgr*: processing new jar, '/usr/share/java/jna-4.2.2.jar'
...
..
.
Also, running openjdk8, not 9
Whomever compiled the package needs to update their dependencies for the
package. the ones I listed may not be all the onces which were required,
I've had other java things loaded prior to attempting to getting this to
run on my system.
fyi, 16.04 is sporting X1.0rc3, same version as stable on sikuli's site.
not sure why you said it was out of date RaiMan
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.