sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05258
Re: [Question #170942]: Cannot run Eclipse.exe from Sikuli
Question #170942 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/170942
Status: Open => Answered
RaiMan proposed the following answer:
Just tested on my Win7 32-Bit.
App.open("C:\\Program Files\\eclipse\\eclipse.exe")
works fine.
So it must have something to do with your Eclipse/Java configuration in
your mixed 64Bit/32Bit environment.
This looks strange:
No Java virtual machine was found after searching the following locations:
C:\Program Files (x86)\eclipse\jre\bin\javaw.exe
Why is the JRE searched inside of Eclipse?
Who is throwing the error?
Sikuli does not do anything else, than starting a new process with
eclipse.exe. The rest is in the responsibility of the app.
You might use the latest build of rc3, since it allows to use command line parameters with App.open().
Look in the updated docs(http://sikuli.org/docx/globals.html#controlling-applications-and-their-windows).
(http://sikuli.org/download.shtml#last-build)
So you might use
App.open("java -version")
to see, what happens.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.