← Back to team overview

sikuli-driver team mailing list archive

[Question #211582]: Problem launching exported Sikuli program in Win7-64 environment

 

New question #211582 on Sikuli:
https://answers.launchpad.net/sikuli/+question/211582

Hi,
Any help on this would be appreciated:

On my Win7-64 system, I've created a Sikuli program which runs fine within the application.  I've exported that file into a menuWalk2.skl file.  I use a batch script to setup the environment & run the program.  After many iterations, I still don't seem to be able to get the environment correct.   I get a Runtime Error which boils down to:

java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\Sikuli X\libs\VisionProxy.dll:  Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method)

The batch script is:
@echo off
set ORIG_PATH=%PATH%
set ORIG_JAVA_HOME=%JAVA_HOME%

set PATH=C:\Program Files (x86)\Java\jre6\bin;C:\Program Files (x86)\Sikuli X;C:\Program Files (x86)\Sikuli X\libs;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;.\;%~d0%~p0libs
set JAVA_HOME="%PROGRAMFILES(X86)%\Java\jre6"

Sikuli-IDE -r  %CD%\menuWalk2.skl
pause
set PATH=%ORIG_PATH%
set JAVA_HOME=%ORIG_JAVA_HOME%


I've tried using the 64-bit version of JDK 6.34, and get the same issue.   Suggestions?


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