Sikuli-script.jar for 64 bit java on windows 7

Asked by Bhushan

Hello,

I am trying to integrate sikuli in my existing automation framework(which is properly running on 64 bit java).But stuck with the existing bug https://bugs.launchpad.net/sikuli/+bug/702797

I gone through all of the existing posts for this important query , to get the sikuli-script.jar which will work on 64 bit Java on windows 6.
https://answers.launchpad.net/sikuli/+faq/1453
https://answers.launchpad.net/sikuli/+question/143652
https://answers.launchpad.net/sikuli/+question/140519

Hello RaiMan and launchpad team,

I just entered in sikuli community 2 months back, and gone through lot of your exiting posts during my learning curve,so first of all thank you very much for giving the detailed resolution for most of the queries that people have posted.
in one of the post you have mentioned that ,"I succeeded in building a fully functional 64-Bit version of Sikuli from X-1.0rc2's source.
see faq 1453"

and as you already know,many people dont want to go back to JVM 32 to resolve this exception
java.lang.UnsatisfiedLinkError: C:\Automation\Sikuli\Sikuli-X-1.0rc3\libs\win32util.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Can some one please post or upload the sikuli-script.jar supporting 64 bit java, if they have already it with them and share the location.
It will solve lot of open discussions since 2011-12 from launchpad related to this issue.

-Bhushan

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Currently the only possibility (besides building from current source - which might be a pain ;-) is to use the stuff at
https://github.com/RaiMan/Sikuli12.11

where I am working on a new Sikuli version.

Revision history for this message
Bhushan (bhoo-ring) said :
#2

Thank you RaiMan for a quick response, I am excited to use sikuli-script.jar for 64 bit JVM, but seems like https://dl.dropbox.com/u/42895525/SikuliX/SikuliX-1.0-Win64Beta351.zip page is offline ,i am unable to download it.

-Bhushan

Revision history for this message
RaiMan (raimund-hocke) said :
#3

I do not have any problems with the download.

What browser? What are the symptoms (Dropbox should not be offline ;-)

Revision history for this message
Bhushan (bhoo-ring) said :
#4

Sorry for extending the thread but I followed following steps from readme.txt

1. Downloaded SikuliX-1.0-Win64Beta351.zip.
2. Replaced the content of existing sikuli-X (C:\Automation\Sikuli_X)installation with the content of SikuliX-1.0-Win64Beta351 (lib folder and the other stuff like jars)
3. I have set SIKULI_HOME = absolute-path-to-the-folder-containing-the-libsfolder in the environement at runtime.
4. And just added new sikuli_script.jar in my java application as a reference library to invoke sikuli’s java Apis.
But I am getting following exception. may I know whether I am missing something

java.lang.UnsatisfiedLinkError: C:\Automation\Sikuli_X\libs\Win32Util.dll: Can't find dependent libraries

I was wondering why it is automatically creating “Win32Util” in <Sikuli_X installation path>\libs folder during java class execution,
As per my understanding it should not have to look for win32Util.dll because in SikuliX-1.0-Win64Beta351\libs folder , “Win32Util” is not present whereas it should have to look for WinUTil.dll,which is given in SikuliX-1.0-Win64Beta351./Lib

To resolve this exception, I tried renaming winUtil.dll (which is provided in SikuliX-1.0-Win64Beta351)with Win32Util.dll and it worked , but its brutal change which is not part of readme.txt so just wanted to confirm from your side whether I am missing something or is it something nameconflicts in this Beta version.

Revision history for this message
RaiMan (raimund-hocke) said :
#5

You somehow are still using the old sikuli-script.jar, since
- you are right: the new one does not look for Win32Util.dll
- the new one does not create any dll's anywhere

check your class path at runtime.

BTW: SIKULI_HOME should be C:\Automation\Sikuli_X\ (with the trailing backslash)

Revision history for this message
Bhushan (bhoo-ring) said :
#6

Genius !!, yes you are right, even I had updated the build path in my eclipse pointing new sikuli-script .jar, unfortunatelly my eclipse project was somehow referring old jar.tried by removing all old references of sikuli-script.jar, and it working fine on 64Bit JVM on wndows 7. Thank you very much for your help.

BTW, may i know ,when can we expect Sikuli12.11 in production which is currently in Beta ?

-Bhushan

Revision history for this message
Best RaiMan (raimund-hocke) said :
#7

I plan to close the functional enhancements per end of April.

Until mid May I plan to provide the final packages for Sikuli X 1.0.

Beginning mid of June I will start with Sikuli X 1.1 with a planned release date later in 2013.

Revision history for this message
Bhushan (bhoo-ring) said :
#8

Thanks RaiMan, that solved my question.