sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05250
Re: [Question #170942]: Cannot run Eclipse.exe from Sikuli
Question #170942 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/170942
Description changed to:
I have 64-bit windows, 32-bit JDK, 32-bit Eclipse.
I wrote the following Sikuli Script:
eclipse = openApp("C:\\Program Files (x86)\\eclipse\\eclipse.exe")
When I run it this error appears:
"A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No Java virtual machine was found after searching the following locations:
C:\Program Files (x86)\eclipse\jre\bin\javaw.exe
javaw.exe in your current PATH"
When I start Eclispe by clicking eclipse.exe it starts normally (without
any error). I tried to edit eclipse.ini. If eclipse.ini file is invalid
error "Failed to create Java Virtual Machine" is shown when opening by
clicking eclipse.exe. But even in that case error "A Java Runtime
Environment (JRE) or Java Development Kit (JDK) must be available in
order to run Eclipse. ..." is still shown so it seems that SIKULI
doesn't use eclipse.ini or Path environmental variable.
It seems that SIKULI opens applications in other way than it does
Windows. I'm unable to run Eclipse from SIKULI. How can I solve it?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.