Login  Register

Re: Quicktime installed?

Posted by dscho on Mar 04, 2011; 8:45pm
URL: http://imagej.273.s1.nabble.com/Quicktime-installed-tp3685482p3685486.html

Hi Bill,

On Fri, 4 Mar 2011, Bill Mohler wrote:

> I'm using this slightly modified version of Wilhelm's class.  It worked when
> the option for hasQT to go true and I include in my project and call it from
> a startup macro on a machine without QuickTime installed (always Windows for
> this test), I still get an exception trace, which I'm also pasting here below
> the code?   Shouldn't the catch (Throwable throwable) be handling this
> exception?  Maybe I need to catch QTException rather than Throwable?

To the contrary:

> [...]
>         try {
>             QTSession.open();
>             success = true;
>         } catch (QTException e) {
>         }

this is the problem: you are catching a QTException, but that class does
not exist in the classpath:

> [...]
> Caused by: java.lang.ClassNotFoundException: quicktime.QTException

Ciao,
Johannes