QuickTime_Plugins not working with Java 1.6?

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

QuickTime_Plugins not working with Java 1.6?

Tiago Ferreira
Just noticed that on OS 10.5.3 with java 1.6.0_05
the plugins in QuickTime_Plugins.jar stopped working for me.

While with Java 1.5.0_15 they keep working fine.
Recompiling from the source files didn't solve..

e.g., if I run File>Import>QuickTime Player I get:

java.lang.UnsatisfiedLinkError: quicktime.QTSession.Gestalt(I[I)S
at quicktime.QTSession.Gestalt(Native Method)
at quicktime.QTSession.gestalt(QTSession.java:933)
at quicktime.QTSession.open(QTSession.java:639)
at quicktime.QTSession.open(QTSession.java:606)
at QT_Movie_Player.<init>(QT_Movie_Player.java:43)
at sun.reflect.NativeConstructorAccessorImpl.
    newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.
    newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.
    newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at ij.IJ.runUserPlugIn(IJ.java:156)
at ij.IJ.runPlugIn(IJ.java:124)
at ij.Executer.runCommand(Executer.java:104)
at ij.Executer.run(Executer.java:58)
at java.lang.Thread.run(Thread.java:637)
Is any of you having the same problem?

-T
Reply | Threaded
Open this post in threaded view
|

Re: QuickTime_Plugins not working with Java 1.6?

Wayne Rasband
Java 1.6 on OS X is 64-bit only and QuickTime for Java is not 64-bit  
compatible. You can either switch to Java 1.5 or use the File>Save  
As>AVI command. If compression is required, use QuickTime Pro to  
compress the uncompressed files created by File>Save As>AVI. Note that  
the title of the Edit>Options>Memory & Theads dialog changes to  
"Memory (64-bit)" when ImageJ is running on a 64-bit version of Java.

-wayne

On Jun 1, 2008, at 7:29 AM, Tiago Ferreira <[hidden email]> wrote:

> Just noticed that on OS 10.5.3 with java 1.6.0_05
> the plugins in QuickTime_Plugins.jar stopped working for me.
>
> While with Java 1.5.0_15 they keep working fine.
> Recompiling from the source files didn't solve..
>
> e.g., if I run File>Import>QuickTime Player I get:
>
> java.lang.UnsatisfiedLinkError: quicktime.QTSession.Gestalt(I[I)S
> at quicktime.QTSession.Gestalt(Native Method)
> at quicktime.QTSession.gestalt(QTSession.java:933)
> at quicktime.QTSession.open(QTSession.java:639)
> at quicktime.QTSession.open(QTSession.java:606)
> at QT_Movie_Player.<init>(QT_Movie_Player.java:43)
> at sun.reflect.NativeConstructorAccessorImpl.
>    newInstance0(Native Method)
> at sun.reflect.NativeConstructorAccessorImpl.
>    newInstance(NativeConstructorAccessorImpl.java:39)
> at sun.reflect.DelegatingConstructorAccessorImpl.
>    newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at ij.IJ.runUserPlugIn(IJ.java:156)
> at ij.IJ.runPlugIn(IJ.java:124)
> at ij.Executer.runCommand(Executer.java:104)
> at ij.Executer.run(Executer.java:58)
> at java.lang.Thread.run(Thread.java:637)
> Is any of you having the same problem?
>
> -T