Mailing Lists: Apple Mailing Lists

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

Calling QT from 1.4.1?



I intended to make some tests with our Java and QT-based app under the lates
1.4.1 beta, to check it its improvements in Java2D/Swing, and other new
stuff. However, I can't even get the app to launch. Seems to be something
related to JDirect.

Where can I find information on how to access QuickTime from the current
Java 1.4.1 beta (assuming this is at all possible)? From what I recall from
earlier discussions on this list, the old JDirect method is no longer
supported. How do I "link" my Java-based against QT to make it work? Do I
need any new JNI libs somewhere?

Just launching the app as is gives me QuickTime and JDirect-related
messages:

Exception in thread "main" java.lang.NoClassDefFoundError:
com/apple/mrj/macos/carbon/CarbonLock
at quicktime.jdirect.QTNative._getLock(QTNative.java:111)
at quicktime.jdirect.QTNative.<clinit>(QTNative.java:105)
at quicktime.QTSession.<clinit>(QTSession.java:114)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at com.dataton.VT.WatchInit.main(Unknown Source)


Also, how do I interface to the events for opening documents, responding to
Quick and Preferences, etc? Previously, I used
MRJApplicationUtils.registerAboutHandler and friends to do this.

I apologize if this is the wrong place to ask these questions. If so, please
let me know where to continue this discussion.

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