Women in Technology

Hear us Roar



Article:
  QTJ Audio
Subject:   Installing QuickTime for Java
Date:   2004-01-05 15:34:05
From:   anonymous2
Response to: Installing QuickTime for Java

Chris,


Thanks, but that also appears to be QTJ 6.1 and not the 6.5 I was expecting (see the error message below). I've followed the instructions from the ADC and downloaded the QuickTime 6.5 dmg, but the installer only lets me 'Upgrade' and not perform a custom install to add the QuickTime for Java extensions. I've done some Googling and it appears that QuickTime is practically integrated into the OS, so I cannot simply remove it and do a fresh install. Do you know of another way to get just the QuickTime for Java content?


Thanks,
Sean


ava -classpath /System/Library/Java/Extensions/QTJava.zip:. QTButtonDemo
Exception in thread "main" java.lang.ExceptionInInitializerError
at QTButtonDemo.<init>(QTButtonDemo.java:68)
at QTButtonDemo.main(QTButtonDemo.java:37)
Caused by: quicktime.QTRuntimeException[QTJava:6.1.0g1]Unsupported on Mac OS X and Java 1.4 and higher.,QT.vers:6508000
at quicktime.app.image.ImagePresenter.<clinit>(ImagePresenter.java:42)
... 2 more

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Chris Adamson photo Installing QuickTime for Java
    2004-01-05 18:06:59  Chris Adamson | O'Reilly AuthorO'Reilly Blogger [View]

    Looking at the stack trace, you *do* have QTJ 6.1 (the new one) and QT 6.5. The problem is that your code is using a call to a class - quicktime.app.image.ImagePresenter - that doesn't work in the new QTJ.

    When Apple moved their Java implementation from Carbon to Cocoa, they broke a lot of QTJ. They decided to re-implement a smaller subset in QTJ 6.1, deprecating the rest. Everything in quicktime.app.image is deprecated. See my article "The Return of the Blue Q" ( http://www.onjava.com/pub/a/onjava/2003/10/29/qtj-returns.html )

    That said, it works on Windows, and it works on Java 1.3.1 on Mac OS X. It's just not going to work on 1.4.1 on Mac.

    --Chris