This application has ailed to start because the application configuration is incorrect

Asked by Jai Bharti

I have Sikuli version =>Sikuli-X-1.0rc3 (r905)-win32.exe
I have Install My Sikuli i=> D:\sikuliInstillation
I am using 32 bit java .
I have Machine => Microsoft window Server 2003 R2 with Enterprise x64 edition service pack 2
when I run my script with these configuration I got following error =>
**************************************************************************************
Exception in thread "Thread-53" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\qtp3\Local Settings\Temp\1\tmplib\Win32Util.dll: This application has
failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
        at java.lang.Runtime.load0(Runtime.java:770)
        at java.lang.System.load(System.java:1005)
        at com.wapmx.nativeutils.jniloader.NativeLoader.loadLibrary(NativeLoader.java:44)
        at org.sikuli.script.Win32Util.(Win32Util.java:19)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at org.sikuli.script.Env.getOSUtil(Env.java:91)
        at org.sikuli.script.App.(App.java:9)
        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.mozilla.javascript.MemberBox.invoke(MemberBox.java:161)
        at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:247)
        at org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:3330)
        at org.mozilla.javascript.Interpreter.interpret(Interpreter.java:2487)
        at org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
        at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:398)
        at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3065)
        at org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
        at org.mozilla.javascript.Context.evaluateString(Context.java:1104)
        at net.sf.sahi.rhino.RhinoScriptRunner.run(RhinoScriptRunner.java:144)
        at java.lang.Thread.run(Thread.java:619)
***************************************************************************************

please suggest me possible solution

Question information

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

I guess you are using Java 7.

You need Java 6.

Revision history for this message
Jai Bharti (freetalk2jai) said :
#2

I tried with both jdk 6 & 7 but not able to resolve

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

You MUST make sure, that Sikuli is run with the java.exe from the 32-Bit JRE 6 (usually in ProgramFiles/Java/jre6/bin)

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

Furthermore if you do not install Sikuli with the installer, it is vital to adjust the environment to your situation.

See faq 2005

Revision history for this message
Jai Bharti (freetalk2jai) said :
#5

I think 32 bit jre6 should be C:\Program Files (x86)\Java\jre6, and I am using that only. but not yet resolved

Revision history for this message
Jai Bharti (freetalk2jai) said :
#6

@RaiMan
can u provide me the link of X-1.0rc3 r930

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

-- C:\Program Files (x86)\Java\jre6
yes this is the standard place for the jre6 32 Bit

-- can u provide me the link of X-1.0rc3 r930
link is in the Windows section:
http://sikuli.org/download.shtml

AGAIN:
the steps at faq 2005 should lead to a running Sikuli

Can you help with this problem?

Provide an answer of your own, or ask Jai Bharti for more information if necessary.

To post a message you must log in.