Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

anjaneyulu.vujani
Hi ,

Getting below error while using the jep , Here Im using selenium rc (Junit) and also jep to handle windows based popups.

java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J
        at jep.Jep.init(Native Method)
        at jep.Jep.<init>(Jep.java:122)
        at jep.Jep.<init>(Jep.java:77)
        at ToolsLib.Py_Gen.pyWinLoad(Py_Gen.java:9)
        at ToolsLib.Py_Gen.Button_Click(Py_Gen.java:32)
        at MIP.testSurvey(MIP.java:62)
        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 junit.framework.TestCase.runTest(TestCase.java:168)
        at junit.framework.TestCase.runBare(TestCase.java:134)
        at com.thoughtworks.selenium.SeleneseTestCase.runBare(SeleneseTestCase.java:212)
        at junit.framework.TestResult$1.protect(TestResult.java:110)
        at junit.framework.TestResult.runProtected(TestResult.java:128)
        at junit.framework.TestResult.run(TestResult.java:113)
        at junit.framework.TestCase.run(TestCase.java:124)
        at junit.framework.TestSuite.runTest(TestSuite.java:243)
        at junit.framework.TestSuite.run(TestSuite.java:238)
        at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
        at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
        at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
        at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

Reply | Threaded
Open this post in threaded view
|

Re: Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

softwaretestingforum
Administrator
Which version of jdk are you using?
Also, could you describe more on what is jep?
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

anjaneyulu.vujani
Hi ,

Im using jdk 1.6.0_27 , junit 4

Jep is for to work on windows based applications.
E.g. If you download anything from web app (Browser is mozilla) as soon as you click on download link "Opening.*..." window will get appear which can't be handled by selenium, to handle this we should go for autoit or python (pywinauto)... for this we should have installed python , pywinauto ,sendkeys in our machine and jep.jar should be under required libraries.

Thanks,
Anjaneyulu V
Reply | Threaded
Open this post in threaded view
|

Re: Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

softwaretestingforum
Administrator
Are you sure you have only jdk 1.6 and no other version of java.
You error message indicates the problem with java.

Also did you try using AutoIT instead of jep, why special preference for jep?
~ seleniumtests.com
Reply | Threaded
Open this post in threaded view
|

Re: Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

anjaneyulu.vujani
Hi,

Yes I'm sure i have only jdk 1.6 in my machine.

About AutoIt:  I have no knowledge on it , how to configure with eclipse ,what is the required jar files and software , can we call autoit script in middle of selenium main script (which is in eclipse).Please give me detailed steps about it , really its very helpfull for me if you do the same.

Thanks in advance..

Thanks,
Anjaneyulu V
Reply | Threaded
Open this post in threaded view
|

Re: Error: java.lang.UnsatisfiedLinkError: jep.Jep.init(Ljava/lang/ClassLoader;)J

softwaretestingforum
Administrator