← Back to team overview

sikuli-driver team mailing list archive

[Bug 869842] Re: can't support by win7-32bit

 

If you have jre6 and later installed jre7, C:\Windows\System32\javaw.exe is java7.
Sikuli IDE uses it by default. So you need to tell Sikuli-IDE.exe to use proper path to java6.

You need rewrite batch files in Sikuli's install folder.

[Sikuli-IDE-w.bat]
@echo off

PATH=%PATH%;%~d0%~p0libs
set JAVA_EXE="%PROGRAMFILES%\Java\jre6\bin\javaw.exe"
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\javaw.exe"
start /B "Sikuli-IDE" %JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dpython.path="%~d0%~p0sikuli-script.jar/" -jar "%~d0%~p0sikuli-ide.jar" %*

[sikuli-script.bat]
@echo off

PATH=%PATH%;%~d0%~p0libs
set JAVA_EXE="%PROGRAMFILES%\Java\jre6\bin\java.exe"
if defined PROGRAMFILES(X86) set JAVA_EXE="%PROGRAMFILES(X86)%\Java\jre6\bin\java.exe"
%JAVA_EXE% -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -jar "%~d0%~p0sikuli-script.jar" %*

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/869842

Title:
  can't support by win7-32bit

Status in Sikuli:
  New

Bug description:
  install Sikuli-X-1.0rc3 (r905)-win32 on win7-32bit, but can't  capture
  the object of win7's  screen or anything. it seems that sikuli can't
  support by both win7-32bit  and win7-64bit. hope can be fixed, i am
  looking forward the good news.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/869842/+subscriptions


References