← 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 => Open

Willie is still having a problem:
Set it up for the 32-bit Sikuli and JRE, and the IDE works great.
However, if I run from java:

 --- SYSTEM PROPERTIES ---
OS: Windows 7
User Path: C:\Users\wbowens\Documents\Eclipse Workspace\JarTest
Lib Path: C:\Program Files\Java\jdk1.6.0_25\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jdk1.6.0_25/bin/../jre/bin/server;C:/Program Files/Java/jdk1.6.0_25/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_25/bin/../jre/lib/amd64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%M2%;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Sikuli X\libs;C:\Program Files\Java\jdk1.6.0_25\bin;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Sikuli X\libs;C:\Program Files\Java\jdk1.6.0_25\bin;C:\Program Files\Maven\apache-maven-3.0.3\bin;C:\Users\wbowens\Documents\eclipse;
Class-Path: /C:/Users/wbowens/Documents/eclipse/configuration/org.eclipse.osgi/bundles/282/1/.cp/eclipse-testng.jar;C:\Users\wbowens\Documents\Eclipse Workspace\JarTest\bin;C:\Users\wbowens\Documents\eclipse\configuration\org.eclipse.osgi\bundles\282\1\.cp\lib\testng.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\selenium-java-2.0rc2.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\apache-mime4j-0.6.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\bsh-1.3.0.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\cglib-nodep-2.1_3.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\commons-codec-1.4.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\commons-collections-3.2.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\commons-io-2.0.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\commons-lang-2.4.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\commons-logging-1.1.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\cssparser-0.9.5.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\guava-r09.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\hamcrest-all-1.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\htmlunit-2.8.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\htmlunit-core-js-2.8.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\httpclient-4.0.2.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\httpcore-4.0.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\httpmime-4.0.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\jcommander-1.13.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\jna.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\json-20080701.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\junit-dep-4.8.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\nekohtml-1.9.14.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\sac-1.3.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\serializer-2.7.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\testng-6.0.1-nobsh-noguice.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\xalan-2.7.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\xercesImpl-2.9.1.jar;C:\Users\wbowens\Documents\selenium-2.0rc2\libs\xml-apis-1.3.04.jar;C:\Users\wbowens\Documents\selenium-server-standalone-2.0rc2.jar;C:\Program Files (x86)\Sikuli X\sikuli-script.jar
SIKULI_HOME: C:\Program Files (x86)\Sikuli X
PATH: C:/Program Files/Java/jdk1.6.0_25/bin/../jre/bin/server;C:/Program Files/Java/jdk1.6.0_25/bin/../jre/bin;C:/Program Files/Java/jdk1.6.0_25/bin/../jre/lib/amd64;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;%M2%;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Sikuli X\libs;C:\Program Files\Java\jdk1.6.0_25\bin;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Java\jre6\bin;C:\Program Files\Java\jre6\bin;C:\Program Files (x86)\Sikuli X\libs;C:\Program Files\Java\jdk1.6.0_25\bin;C:\Program Files\Maven\apache-maven-3.0.3\bin;C:\Users\wbowens\Documents\eclipse;
00:25:59.941 INFO - Command request: testComplete[, ] on session 82733be7dfe84599b041af7967c9b1ff
00:25:59.942 INFO - Killing Firefox...
00:26:00.122 INFO - Got result: OK on session 82733be7dfe84599b041af7967c9b1ff
FAILED: testMainPage
java.lang.UnsatisfiedLinkError: C:\Users\wbowens\AppData\Local\Temp\tmplib\Win32Util.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
	at java.lang.Runtime.load0(Runtime.java:770)
	at java.lang.System.load(System.java:1003)
	at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
	at org.sikuli.script.Win32Util.<clinit>(Win32Util.java:14)
	at tests._01.testMainPage(_01.java:76)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:76)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:673)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:846)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1170)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.runWorkers(TestRunner.java:1147)
	at org.testng.TestRunner.privateRun(TestRunner.java:749)
	at org.testng.TestRunner.run(TestRunner.java:600)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:317)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:312)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:274)
	at org.testng.SuiteRunner.run(SuiteRunner.java:223)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1049)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:974)
	at org.testng.TestNG.run(TestNG.java:905)
	at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:203)
	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:174)

---
Can you elaborate on the settings before/with a java call? I set the SIKULI_HOME and PATH variables. Do I need to update JAVA_HOME as well? Its currently pointing to my 64-bit JDK.

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