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



On Thursday, Dec 5, 2002, at 20:24 Australia/Melbourne, Daniel Walsh wrote:
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,

I've got several hundred thousand lines of QT Java code that I'm working on using 3.4 version of NetBeans - both on OS X and Windows... in other words, I don't think that's it :-)

NetBeans completely
ignores the $CLASSPATH environment variable

as it should, CLASSPATH is dead, and should stay dead.

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.

it's more likely to be that you're using a different VM to the one you thought you were - bites me all the time on a new setup.

QTJ should run out of the box on a JRE only install (...) but if you've installed the JDK and/or any JRE updates, then you may have more than one VM kicking around.

QTJ has two DLLs - they live in %SystemRoot%\win32 and should not move (this folder is in the VM path by default).

QTJ has one zip file - you found that - it must be in the /lib/ext of each JRE you plan to run with QTJ so on my box that's the one in the JDK folder, and two in the Programs/xxx path... also be aware that this file can get stale if you update the QTJ via web update etc. (only the one copy gets updated)

cheers,

dean
_______________________________________________
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.

References: 
 >Re: QT4J APIs Finding QT Native Comps (From: "Daniel Walsh" <email@hidden>)



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.