Results 1 to 5 of 5
  1. #1
    Qwazzerman is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Default Error in dated program, "No QTJava"

    (Apologies if this is long or rambling; I wanted to include as much information as possible.)
    I'm trying to use a program that was released a few years ago. (It's called JWatcher Video, if anyone cares to check it out). It's mainly for observing animal behavior, but this version is also supposed to have an integrated video player.
    However, when I try to run it, I immediately get the following error:

    "Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)"
    When I click 'Details', I get:
    java.lang.UnsatisfiedLinkError: no QTJava 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 quicktime.jdirect.JDirectLinker$1.run(JDirectLinke r.java:266)
    at java.security.AccessController.doPrivileged(Native Method)
    at quicktime.jdirect.JDirectLinker$1PrivelegedAction. establish(JDirectLinker.java:264)
    at quicktime.jdirect.JDirectLinker.<clinit>(JDirectLi nker.java:272)
    at quicktime.jdirect.QTNative.loadQT(QTNative.java:33 )
    at quicktime.jdirect.QuickTimeLib.<clinit>(QuickTimeL ib.java:17)
    at quicktime.QTSession.<clinit>(QTSession.java:83)
    at mq.psy.jwatch.ui.TabletFrame.display(TabletFrame.j ava:168)
    at mq.psy.jwatch.admin.JWatchApp.main(JWatchApp.java: 108)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.zerog.lax.LAX.launch(DashoA8113)
    at com.zerog.lax.LAX.main(DashoA8113)

    I've looked around online and can't find anything that makes sense to me regarding a fix. Mainly what I found was forum posts from around '04 that referred to finding a .dll file, but it seems like Java added the capability to load from .zip files. At least, that's my impression.
    I've located the QTJava.zip file and edited the Path variables but I haven't had any luck. I'm somewhat computer-savvy but I know very little about Java. I figured maybe I could fix it by editing the program a bit. I read something about including a new line of code somewhere but I don't know what to add or where to add it. It seems to me that fixing the first error would solve the rest of the problems, as if the rest of the list was a result of the first problem, but I may be wrong.
    In the process of trying to fix it myself, I downloaded a decompiler so I can access the individual .class files.
    Does anyone know what I should do or have any information that might help?
    Oh, and I'm running Windows XP, SP3.

    Thanks!

  2. #2
    Qwazzerman is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Default

    Any help would be greatly appreciated, even if it's just a redirection to somewhere I could find the answer.

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Since this is a programming forum for helping programmers create Java programs, I'm assuming that you've created a program using code from a library. If so, you may want to provide details on how you are using the library, how you try to include it in the classpath, etc...

    If you are not a programmer but rather are having a problem using a program created years ago using the Java language, your odds of finding anyone who can help you here may be low. Your best bet is to contact the creators or distributors of this app.

    Best of luck.

  4. #4
    Qwazzerman is offline Member
    Join Date
    Apr 2010
    Posts
    3
    Rep Power
    0

    Default

    Eureka! I finally downloaded QTJava.dll and placed it in the jre/bin folder of the program folder (C:\...\JWatcher - Video V1.0\jre\bin). The program runs fine now.
    Problem solved (explanation is in case anyone else has this issue).

  5. #5
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Replies: 1
    Last Post: 11-20-2009, 08:58 PM
  2. "parse error at or before "}""
    By constden in forum New To Java
    Replies: 32
    Last Post: 04-25-2009, 10:49 PM
  3. Replies: 2
    Last Post: 01-24-2009, 07:56 PM
  4. Replies: 1
    Last Post: 10-20-2008, 08:35 AM
  5. "Jumble" or "Scramble" Program
    By Shadow22202 in forum Java Applets
    Replies: 8
    Last Post: 04-30-2008, 04:42 AM

Tags for this Thread

Posting Permissions

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