The online community for software testing & quality assurance professionals
 
 
Calendar   Today's Topics
Sponsors:




Lost Password?

Home
BetaSoft
Blogs
Jobs
Training
News
Links
Downloads



Testing Tools >> IBM/Rational Functional Tester - RobotJ

Pages: 1
dkas
Member


Reged: 01/28/00
Posts: 91
Loading Dll in RFT perspective - unsatifiedlinkerr
      #719714 - 11/12/12 11:03 PM

I have a simple script which loads a dll and tries to make JNI method call.
If I run this code in RFT perspective, I get 'java.lang.unsatisfiedLinkError' but if I run the same class (in the same RFT project) in java perspective, it runs fine.

Does anyone have a clue on what is going on ?

Here is the code:
static {
System.load("C:/mydll.dll");
}
public void testMain(Object[] args)
{
Jnt jn = new Jnt();
long time = 0;

try {for (int i = 0 ; i < 20; i++) {


jn.callMethod(33); //this is where error comes up

}
} catch (Exception e) {}

}

}
Thanks.


Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 7 anonymous users are browsing this forum.

Moderator:  AJ, AllenGay 

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 1368

Rate this topic

Jump to

Contact Us | Privacy statement SQAForums

Powered by UBB.threads™ 6.5.5