← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #246773]: How to Automate Running a Java Class

 

Question #246773 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246773

    Status: Open => Answered

RaiMan proposed the following answer:
Wether you or your user has admin rights does not matter.
When you run the task manager to do the setup and want to test, you have to start the task manager as admin (context menu)

Try this:

Action: Start a program
Program/Script: cmd.exe
Add arguments: /C "C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -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

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.