开发者

sikuli: how to execute java jar file

开发者 https://www.devze.com 2023-04-11 19:29 出处:网络
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?

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

精彩评论

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