Question #250145 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/250145
Description changed to: I am running into an issue while launching an application with sikuli- java. It is complaining about dependent libraries of WinUtil.dll. I see that a couple of others had the same question and made sure that there is only one folder where sikuli libs are present. I am using 64bit java. The output with debug level 3 is H:\Sikuli>set JAVA_HOME=H:\jdk-1.7.0_06_x64 H:\Sikuli>set PATH="H:\SikuliTest\lib\libs;H:\SikuliTest\lib\;" H:\Sikuli>cd ../SikuliTest H:\SikuliTest>H:\jdk-1.7.0_06_x64\bin\java -Dsikuli.Debug=3 -cp "H:\SikuliTest\lib\*;H:\SikuliTest\lib\libs\*;" SikuliTestSuite SikuliSuite.properties Jun 12, 2014 5:42:23 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. [debug] ResourceLoaderBasic: SikuliX Package Build: 1.0.1 12SEP2013135849 [debug] ResourceLoaderBasic: check: we are running on arch: amd64 [debug] ResourceLoaderBasic: check: using Java at: H:/jdk-1.7.0_06_x64/jre/ [debug] ResourceLoaderBasic: check: Exists libs folder at location of jar? NO: H:/SikuliTest/lib/ [debug] ResourceLoaderBasic: check: Exists libs folder in user home folder? NO: H:\SikuliX\libs [debug] ResourceLoaderBasic: check: Exists libs folder in working folder or its parent? NO: H:\SikuliTest [error] ResourceLoaderBasic: check: No valid libs path available until now! [action] ResourceLoaderBasic: check: Please wait! Trying to extract libs to jar parent folder: H:/SikuliTest/lib/ [debug] ResourceLoaderBasic: extractLibs: Accessing jar: file:/H:/SikuliTest/lib/sikuli-java-1.0.1.jar [debug] ResourceLoaderBasic: extractLibs: Found 14 Files in META-INF/libs/windows/libs64/ [debug] ResourceLoaderBasic: export: Trying to access package [debug] ResourceLoaderBasic: export: Accessing jar: file:/H:/SikuliTest/lib/sikuli-java-1.0.1.jar [debug] ResourceLoaderBasic: export: Found 30 Files in META-INF/libs/tessdata [debug] ResourceLoaderBasic: checkLibsDir: H:\SikuliTest\lib\libs [debug] ResourceLoaderBasic: loadLib: WinUtil [debug] ResourceLoaderBasic: loadLib: Found: WinUtil [error] ResourceLoaderBasic: loadLib: Fatal Error 110: loading: WinUtil.dll [error] ResourceLoaderBasic: loadLib: Since native library was found, it might be a problem with needed dependent libraries H:\SikuliTest\lib\libs\WinUtil.dll: Can't find dependent libraries [error] ResourceLoaderBasic: loadLib: Check, wether a valid Sikuli libs folder is in system path at runtime! [error] Terminating SikuliX after a fatal error(110)! Sorry, but it makes no sense to continue! If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the Q&A board. [debug] SikuliXFinal: cleanUp: 0 H:\SikuliTest> With depends.exe, I could see that it needs awt.dll which could be found from H:/jdk-1.7.0_06_x64/jre/bin, but in previous discussions, it has already been mentioned that that should not be added to the PATH. H:\jdk-1.7.0_06_x64\bin>java -version java version "1.7.0_06" Java(TM) SE Runtime Environment (build 1.7.0_06-b24) Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode) H:\jdk-1.7.0_06_x64\bin> Please suggest any steps to find the issue here. Thanks! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : [email protected] Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp

