← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #265916]: The bundled jython 2.7b4 cannot be used on Java 6

 

Question #265916 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/265916

    Status: Open => Answered

RaiMan proposed the following answer:
As long as you have Java6 on your 10.10, the app will always start with
Java 6 (a problem, that will not be fixed).

So either you get rid of Apples Java 6 or you run setup with Java 6.

In a Terminal:
/usr/libexec/java_home -V

tells you what versions you have where

export JAVA_HOME=`/usr/libexec/java_home -v 1.x`

switches this command line to the respective version (x = 6, 7 or 8)

after that 
java -version
tells you what java is running in that session now

java -jar <path-to>/sikulixsetup-....jar
runs setup with that Java version

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.