Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: QT4J APIs Finding QT Native Comps



> its via JNI libraries (ie: DLLs) that are also in the classpath, and
> are loaded when the native methods in the QTJ wrappers are called.
>
> if you're thinking of trying to collect the stuff up and install it
> without the QT installer, there are a few issues - both technical and
> legal - that would impede.

I'm not trying to circumvent the QT installer. I'm actually just running
into a problem trying to run a QTJ program - So, for now, I was just trying
to gather some more information on how this all works, in order to find a
solution to my issue.

I'm getting a QTException thrown on what seems to be the very first call to
any of my QTJ code. Whether that be a QTSession.open(), or a
QTSession.isInitialized(). However, my opinion is that this really isn't a
QTJ issue. I don't know how familiar you are with the NetBeans IDE, but
that is what I'm currently developing in. If, you are familiar with it, I'm
sure that you'd agree that things are handled a little differently with
this IDE, especially when it comes to classpaths. NetBeans completely
ignores the $CLASSPATH environment variable, so if you would like to include
something on the classpath when running an application from the IDE - even
if you opt to run it in the current JVM that the IDE is running in - you
must "mount" that directory or archive from within an explorer component
(which somewhat resembles the Windows Explorer). So, I'm thinking that
maybe the problem that I'm running into is that, even though I'm mounting
the QTJava.zip archive to be included on my classpath, I'm unable to find
and point to the underlying components of QuickTime... I'm sure this is
probably a long shot, but I thought I'd check into it first.

If my application was not able to find these native QuickTime components,
would I get a QTException on the first line of QTJ code called (e.g.
QTSession.open())? If so, do you happen to know what else I would need to
include on my classpath to be able to find everything that I would need to
successfully run a QTJ application? If not, do you happen to know what else
could be the cause of this?

I know I'm throwing out a lot of information relating to another technology
here, but please bear with me - I would surely be asking for a migraine, if
I stepped
into the NetBeans side of this before I at least make sure that I have
my classpath right!

Thanks for helping out,

Daniel
_______________________________________________
quicktime-java mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/quicktime-java
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.