watij and Windows 7

540 views
Skip to first unread message

Madieyna Lamine Fall

unread,
Sep 29, 2013, 8:06:16 AM9/29/13
to wa...@googlegroups.com, Madieyna Lamine Fall
Hello,
 
I've been using watij successfully with eclipse Under Windows XP.
I just switched to Windows 7 and running the same watij simple test
do not work.
Is there a solution for watij Under Windows 7 ?:
 

Exception in thread "main" java.lang.ExceptionInInitializerError

at com.jniwrapper.win32.system.Kernel32.isUnicode(Kernel32.java:74)

at com.jniwrapper.win32.FunctionName.<clinit>(FunctionName.java:27)

at com.jniwrapper.win32.MessageLoopThread.<clinit>(MessageLoopThread.java:27)

at com.jniwrapper.win32.ie.BrowserSupport.<clinit>(SourceFile:385)

at com.jniwrapper.win32.ie.HeadlessBrowser.a(SourceFile:94)

at com.jniwrapper.win32.ie.HeadlessBrowser.<init>(SourceFile:83)

at com.jniwrapper.win32.ie.IEAutomation.<init>(SourceFile:26)

at com.jniwrapper.win32.ie.IEAutomation.<init>(SourceFile:21)

at watij.runtime.ie.IE.start(IE.java:115)

at watij.runtime.ie.IE.start(IE.java:474)

at watijtest.main(watijtest.java:8)

Caused by: com.jniwrapper.LibraryNotFoundException: Cannot find JNIWrapper native library (jniwrap64.dll) in java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin/client;C:/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/bin;C:/MyEclipse/Common/binary/com.sun.java.jdk.win32.x86_1.6.0.013/jre/lib/i386;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Live\Shared;C:\java\bin;.

at com.jniwrapper.J.b(SourceFile:51)

at com.jniwrapper.J.<init>(SourceFile:32)

at com.jniwrapper.Parameter.<clinit>(SourceFile:22)

... 11 more

 

Reply all
Reply to author
Forward
0 new messages