jpype: Fail to use Screen.wait() function within jpype
Hi, I'm trying to implement some test code with jpype(Python) and sikulixapi-
# content of my_test.py
from jpype import *
JVM_PATH = r"C:\Program Files\Eclipse Adoptium\
SIKULIX_JAR_PATH = r"D:\my_
BarPNG = "D:\\my_
LongTimeout = float(60)
if __name__ == "__main__":
try:
Screen = JClass(
except Exception as e:
print(e)
it will throw exception when it runs into "screenHandler.
(venv39) PS D:\dev\
(venv39) PS D:\dev\
No matching overloads found for java.lang.
public final void java.lang.
public final native void java.lang.
public final void java.lang.
Could someone help and know why? Thanks!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Reed Xia for more information if necessary.