Problem opening QuickTime Player in ImageJ

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem opening QuickTime Player in ImageJ

Bill Mohler
Hi All-

I just posted in response to messages concerning the new macro-addressable
QuickTime Movie Player plugin.  But I think I should give more info on a
problem I'm having that seems to be unrelated to which version of the
QuickTime_Plugins.jar I use.

I just upgraded to ImageJ 1.38x with Java 1.6.0_02, I have QTJava.zip
(from QuickTime 7.2) in the ImageJ folder and the Plugins folder and the
jre folder and the bin subfolder of the jre folder (overkill, likely, but
I'm trying to find where it should be).

When I try to run the File> Import > QuickTime Player... menu command, I
get the following error.  Am I missing something obvious about why the
QTJava is not being found?  Or is there something wrong with QT7.2?

Thanks for any help you can offer.

Bill

java.lang.UnsatisfiedLinkError: no QTJava in java.library.path
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at quicktime.jdirect.JDirectLinker$1.run(JDirectLinker.java:266)
        at java.security.AccessController.doPrivileged(Native Method)
        at quicktime.jdirect.JDirectLinker$1PrivelegedAction.establish
(JDirectLinker.java:264)
        at quicktime.jdirect.JDirectLinker.<clinit>(JDirectLinker.java:272)
        at quicktime.jdirect.QTNative.loadQT(QTNative.java:33)
        at quicktime.jdirect.QuickTimeLib.<clinit>(QuickTimeLib.java:17)
        at quicktime.QTSession.<clinit>(QTSession.java:83)
        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(IJ.java:156)
        at ij.IJ.runPlugIn(IJ.java:124)
        at ij.Executer.runCommand(Executer.java:95)
        at ij.Executer.run(Executer.java:49)
        at java.lang.Thread.run(Unknown Source)
Reply | Threaded
Open this post in threaded view
|

Re: Problem opening QuickTime Player in ImageJ

Bill Mohler
Yes!  Putting the new QTJava.zip in the Image/jre/lib/ext directory
solved the problem.

Would it be possible to edit the text on the plugin
download/description page
http://rsb.info.nih.gov/ij/plugins/movie-player.html to describe this
better location for the zip file.  It currently suggests the plugin
directory.

Many thanks, Wayne.

Bill

>>I just posted in response to messages concerning the new macro-addressable
>>QuickTime Movie Player plugin.  But I think I should give more info on a
>>problem I'm having that seems to be unrelated to which version of the
>>QuickTime_Plugins.jar I use.
>>
>>I just upgraded to ImageJ 1.38x with Java 1.6.0_02, I have QTJava.zip
>>(from QuickTime 7.2) in the ImageJ folder and the Plugins folder and the
>>jre folder and the bin subfolder of the jre folder (overkill, likely, but
>>I'm trying to find where it should be).
>>
>>When I try to run the File> Import > QuickTime Player... menu command, I
>>get the following error.  Am I missing something obvious about why the
>>QTJava is not being found?  Or is there something wrong with QT7.2?
>>
>>Thanks for any help you can offer.
>>
>>Bill
>>
>>java.lang.UnsatisfiedLinkError: no QTJava in java.library.path
>
>Try putting a copy of QTJava.zip in Image/jre/lib/ext, which should
>be in in java.library.path. You can use the
>
>    getInfo("java.library.path")
>
>macro function to get a list of directories in java.library.path.
>
>-wayne
>
>> at java.lang.ClassLoader.loadLibrary(Unknown Source)
>> at java.lang.Runtime.loadLibrary0(Unknown Source)
>> at java.lang.System.loadLibrary(Unknown Source)
>> at quicktime.jdirect.JDirectLinker$1.run(JDirectLinker.java:266)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at quicktime.jdirect.JDirectLinker$1PrivelegedAction.establish
>>(JDirectLinker.java:264)
>> at quicktime.jdirect.JDirectLinker.<clinit>(JDirectLinker.java:272)
>> at quicktime.jdirect.QTNative.loadQT(QTNative.java:33)
>> at quicktime.jdirect.QuickTimeLib.<clinit>(QuickTimeLib.java:17)
>> at quicktime.QTSession.<clinit>(QTSession.java:83)
>> 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(IJ.java:156)
>> at ij.IJ.runPlugIn(IJ.java:124)
>> at ij.Executer.runCommand(Executer.java:95)
>> at ij.Executer.run(Executer.java:49)
>> at java.lang.Thread.run(Unknown Source)


--
-----------------
William A. Mohler
Associate Professor
Dept. of Genetics and Developmental Biology
University of Connecticut Health Center
MC-3301
263 Farmington Ave.
Farmington, CT   06030-3301

[hidden email]
Office: (860) 679-1833, room E2056
Mobile: (860) 985-2719
Lab: (860) 679-1834, room E2052
Fax: (860) 760-6140
G&DB dept. ofc.: (860) 679-8350
G&DB dept. fax : (860) 679-8345
http://genetics.uchc.edu/Faculty/Mohler/Mohler.html