sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #35969
Re: [Question #233962]: How to install sikuli-script-1.0.1.jar
Question #233962 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/233962
Harish Main posted a new comment:
Hi Raiman,
I have Sikuli code running fine in Eclipse on window. But when i run on
windows command line i get error.
i tried similar steps above
i.e. running sikulixsetup-1.1.0.jar. It opens Command window and i selected Option 2:
Later i see a popup saying "Hallo from Sikuli.testSetu: Java API Sikuli seems to be working? Have fun!
then ran testSikuli.java code on command line i get error:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)
Caused by: java.lang.ExceptionInInitializerError
at com.sikuli.StartTest(StartTest.java:19)
... 5 more
Caused by: java.lang.NullPointerException
at org.sikuli.script.RunTime.init(RunTime.java:635)
at org.sikuli.script.RunTime.get(RunTime.java:291)
at org.sikuli.script.RunTime.get(RunTime.java:126)
at org.sikuli.script.RunTime.get(RunTime.java:316)
at org.sikuli.script.Region.<clinit>(Region.java:31)
I manually copied sikuli jar in one folder and gave that classpath still
same error.
Can you please tell me what iam doing wrong.
Thanks
Harish
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.