开发者

sikuli: how to execute java jar file

I loaded a java jar file into 开发者_StackOverflow社区http://www.sikuli.org/ and tried to run it like this but it is not working. Any hints?

load("C:\Users\...\TJF.jar")

import subprocess
subprocess.call(['java', '-jar', 'TJF.jar'])

Error message: Unable to access jarfile TJF.jar


The comment was correct. Full path necessary. No "load" line necessary.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜