SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    Senior Member
    Join Date
    Dec 2001
    Location
    Bozeman, MT, USA
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    java console prints no qapjarex

    Here is what I have done.

    I have a Java application that appears to have an EXE which loads it. When I use silk to create a new framework and start the app that way I get a start string that is absolutely huge(like over 3000 characters long). I am splitting that up and then assembling it for the sCmdLine string. For classpath, I am listing the paths to the Jar files but not the jar files themselves. Should I be listing jar files in the classpath??

    I added the JRE 1.2 that is used for this app to the extensions enabler. I also added a new extension in silktest and checked the java chackbox for both of these.

    So, now when I start the application with Run->Application State The app starts and the login screen appears. I stop silk here as I have not scripted for the login yet.

    I have a console window with this in it:
    Preferences loaded from file C:\Documents and Settings\ryan\RS3 Inventory\Workbench.ini
    Preferences loaded from file Databases.ini

    So I go to silk and Select Record->Window Identifiers to find out whats recognized. After selecting Record->Window Identifiers the following appears in the console window twice:

    SilkTest Java extension loaded, running under JDK version 1.2.2
    java.lang.UnsatisfiedLinkError: no qapjarex in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at segue.io.EkPro.run(EkPro.java, Compiled Code)

    It then repeats everytime I run the mouse over an object.

    My login window is recognized as a JavaMainWin("RS3 Inventory Login").JavaDialogBox("RS3 Inventory Login") so I am seeing it as a java application which is good. So I move the mouse over a popuplist(another error like the one above appears in the console window) but it is not recognized. The record window still displays JavaMainWin("RS3 Inventory Login").JavaDialogBox("RS3 Inventory Login")

    From stuff I have read on here it sounds like the problem is in my classpath. I have my silktest_java2.jar in my jre/1.2/lib/ext and it is being used(I cant delete it while the app is running).

    Any help is appreciated. Thanks.

    ------------------
    Ryan McCullough
    Accelrys Inc.
    ryan@accelrys.com
    Ryan McCullough
    RightNow Tech. Inc.

  2. #2
    Senior Member
    Join Date
    Dec 2001
    Location
    Bozeman, MT, USA
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java console prints no qapjarex

    here is the invoke info thats in my inc file(I have never done a java app before so I dont know if this is correct or not but it looks goofy)

    ------------------
    Ryan McCullough
    Accelrys Inc.
    ryan@accelrys.com

    [This message has been edited by rmccullough (edited 11-21-2002).]

    [This message has been edited by rmccullough (edited 11-21-2002).]
    Ryan McCullough
    RightNow Tech. Inc.

  3. #3
    Junior Member
    Join Date
    Aug 2001
    Posts
    27
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java console prints no qapjarex

    YOu can find the qapjarex.dll in Silktest install directory. Copy this dll to ../jar.

    ------------------


    [This message has been edited by Universalisk (edited 11-21-2002).]

  4. #4
    Senior Member
    Join Date
    Dec 2001
    Location
    Bozeman, MT, USA
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java console prints no qapjarex

    Wow, I thought I was going to be stuck on this thing. Thanks alot. You work in san diego? If you do I owe you a beer

    Anyways, putting the qapjrex.dll into the jre/1.2/lib/ext dir with the SilkTest_Java2.jar fixed my problem.

    My second question would be about my sCmdLine var that I am setting above. If that correct? Or should I remove all the jars and zips after the -classpath and put them in my sClasspath variable? Thanks

    ------------------
    Ryan McCullough
    Accelrys Inc.
    ryan@accelrys.com
    Ryan McCullough
    RightNow Tech. Inc.

  5. #5
    Junior Member
    Join Date
    Aug 2002
    Location
    Somerville, MA, USA
    Posts
    22
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: java console prints no qapjarex

    Yeah!!! Saying we needed to put qapjrex.dll into the ../lib/ext really helped!

    Thanks!

    Jamie

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:19 AM.

Copyright BetaSoft Inc.