Re: Quicktime 7 & ImageJ
Posted by
Wayne Rasband on
Oct 25, 2005; 5:28pm
URL: http://imagej.273.s1.nabble.com/Quicktime-7-ImageJ-tp3704610p3704613.html
This bug ("QTJava has expired") is in the QTJava.zip file included with
early versions of QuickTime 7 for Windows. The fix is to install the
latest version of QuickTime or iTunes.
More information can be found at
"
http://digitalmedia.oreilly.com/lpt/wlg/8138".
-wayne
On Oct 25, 2005, at 12:09 PM, Jon Harman wrote:
> Hi,
>
> I tried following those instructions (changed .zip to .jar for
> compilation). But when I compile and run the quicktime player I get
> this error:
>
> java.lang.ExceptionInInitializerError
> at QT_Movie_Player.<init>(QT_Movie_Player.java:38)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
> Source)
> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
> Source)
> at java.lang.reflect.Constructor.newInstance(Unknown Source)
> at java.lang.Class.newInstance0(Unknown Source)
> at java.lang.Class.newInstance(Unknown Source)
> at ij.IJ.runUserPlugIn(Unknown Source)
> at ij.IJ.runPlugIn(Unknown Source)
> at ij.Executer.runPlugIn(Unknown Source)
> at ij.Executer.runCommand(Unknown Source)
> at ij.Executer.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.SecurityException: QTJava has expired.
> at quicktime.util.QTBuild.isValid(QTBuild.java:72)
> at quicktime.QTSession.<clinit>(QTSession.java:73)
> ... 13 more
>
>
> Wayne Rasband wrote:
>
> >> Just wondering why I can't get ImageJ to work with the
> >> Quicktime plugins. I've tried the quicktime installation
> >> described on the ImageJ website, but later found that custom
> >> Quicktime installation was not possible nymore with the
> >> currently available QUicktime + ITunes package from Apple.
> >> Anyway Apple says QT7 installs QT for Java by default now,
> >> buit even with the trick explained on the IJ website (adding
> >> the path for QTJava.zip in the ImageJ.cfg file)I just get
> >> errors when I try to use either Save as... QT Movie or QT
> >> movie exporter.
> >>
> >> Do anyone know how to get IJ working with the latest QT ?
> >
> >
> > A custom installation is not necessary with QuickTime 7. All you have
> > to do is put a copy of QTJava.zip in the ImageJ plugins folder. Look
> > for QTJava.zip in places like C:\Program Files\QuickTime\QTSystem or
> > C:\Program Files\Java\jre1.5.0\lib\ext, or use the Windows Search
> > function to find it.
> >
> > To "Compile and Run" plugins that use QuickTime, put the copy of
> > QTJava.zip in ...ImageJ/jre/lib/ext instead of in the plugins folder.
> >
> > -wayne
> >