← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #289930]: Can't open JAR file

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
your problem surely is, that you have your jar file in the folder 
c:\Program Files (x86)

which contains blanks, that have to be quoted.

The mentioned load command is useless for running jars (it only puts the
jar on sys.path to be able to access contained .py stuff).

subprocess.call(['java', '-jar', 'c:\\Program Files (x86)\\Tabulka.jar'])
should work.

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