← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #166178]: SikuliX 64Bit / Win7 64Bit: Can't find dependent libraries

 

Question #166178 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/166178

    Status: Answered => Solved

Willie confirmed that the question is solved:
Ok, does it matter if the JRE is not in the exact directory of
C:\Program Files (x86)\Java\jre6? I'm just using the JRE from the JDK
right now, and I made sure to reference the JRE before mentioning the
JDK in my system path. -- I need the JDK for something else.

The basic test you wrote will work. Looks like everything works but
using Win32Util. I was using some methods from Win32Util to switch
between open windows (switchApp("name"), getWindow("title") etc..). I
didn't realize it was only used internally, is that what the App class
is for then? On different OS's will it pick and choose what OSUtil it
needs?

I've now tried using the App class instead of Win32Util and it *WORKS!*
...
I'm glad its finally working, but I'm curious because it works fine using Win32Util directly on a 32bit OS. Do you know why java would be crashing as it is using Win32Util methods directly on a 64bit OS?

Wow, I can't believe I was using Win32Util this whole time when I had
App! I would use App in the Sikuli IDE, but when I started making
programs with java code I stumbled upon Win32Util and just started using
it.. Maybe now I'll go back again and try the 64bit Sikuli setup using
all this. I'll post my findings, but that might be a few days.

Thanks for your help and persistence. I'm going to go ahead and mark
this as problem solved.

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