sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #25239
Re: [Question #246773]: How to Automate Running a Java Class
Question #246773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246773
Status: Answered => Open
Tyson K is still having a problem:
I am running it as an admin. My user also has admin rights.
Running this in a command prompt works:
C:\C1_Manager\Dev\C1_ManagerAutomation>"C:\Program Files (x86)\Java\jre7\
bin\javaw.exe" -Dfile.encoding=Cp1252 -classpath C:\C1_Manager\Dev\C1_ManagerAut
omation\SikuliX\sikuli-script.jar;C:\C1_Manager\Dev\C1_ManagerAutomation;C:\C1_M
anager\Dev\C1_ManagerAutomation\images;C:\C1_Manager\Dev\C1_ManagerAutomation\Gu
ava\guava-16.0.1.jar sikuliAutomation.sikuliTest
I have my Task setup like this:
Action: Start a program
Program/Script: "C:\Program Files (x86)\Java\jre7\bin\javaw.exe"
Add arguments: -Dfile.encoding=Cp1252 -classpath C:\C1_Manager\Dev\C1_ManagerAutomation\SikuliX\sikuli-script.jar;C:\C1_Manager\Dev\C1_ManagerAutomation;C:\C1_Manager\Dev\C1_ManagerAutomation\images;C:\C1_Manager\Dev\C1_ManagerAutomation\Guava\guava-16.0.1.jar sikuliAutomation.sikuliTest
Start in: C:\C1_Manager\Dev\C1_ManagerAutomation
What am I doing wrong?
-----Original Message-----
From: bounces@xxxxxxxxxxxxx [mailto:bounces@xxxxxxxxxxxxx] On Behalf Of RaiMan
Sent: Wednesday, April 09, 2014 3:51 PM
To: Knutson, Tyson
Subject: Re: [Question #246773]: How to Automate Running a Java Class
Your question #246773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246773
Status: Open => Answered
RaiMan proposed the following answer:
I remember, that testing the batch in the TaskManager setup requires admin rights (same as with the mmc windows).
But if it generally works, it should run, when it is scheduled.
--
If this answers your question, please go to the following page to let us know that it is solved:
https://answers.launchpad.net/sikuli/+question/246773/+confirm?answer_id=0
If you still need help, you can reply to this email or go to the following page to enter your feedback:
https://answers.launchpad.net/sikuli/+question/246773
You received this question notification because you asked the question.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.