Initialization hangs in Mac JDK 1.6
Up one level
Initialization hangs in Mac JDK 1.6
Even though the ELAN application can be started in the 64 bit version of JDK 1.6 (the only one available on the Mac) it does not appear to run properly. <br><br>When I tried to load the .eaf file provided in elan-examples.zip,the Elan window has "Initializing..." in its title bar for over 10 minutes and doesn't seem to be making much progress. If I look at the ELAN process, it is only used 0.1 CPU and the memory size is not increasing either. <br><br>I tried switching the Java Preferences back to 32 bit version of JDK 1.5 and it loads the same .eaf file fine.<br><br>Has anyone else successfully run ELAN with JDK 1.6 on Mac? (It would be nice not to have to change my preferences back and forth each time I run ELAN, but that is obviously a workaround for now).<br><br>Thanks, -Chuck<br><br>
Re: Initialization hangs in Mac JDK 1.6
Until the current version of ELAN we had to create 2 different Mac versions for J1.4 and J1.5 (due to different JavaApplicationStub versions and QuickTime for Java versions). Version 3.6 is the last version compatible with Java 1.4. It would be really disappointing if we would have to create 2 versions again in the future, now for J1.5 and J1.6.
If ELAN runs under J1.5 in combination with the 64-bit JavaApplicationStub then it probably won't be necessary to have 2 versions (I haven't tested this yet, maybe you did?).
I have now tried to run ELAN with J1.6 and it hangs while initializing the media player. Media playback on the Mac is based on the QuickTime for Java framework supplied by Apple. And it seems that the current QT for Java is not compatible with J1.6.; internet searches indicate so.
When I run with 1.6, there is a message in the elan.log file about an "Unsatisfied Link"; libQTJNative.jnilib cannot be found in a certain folder although it is there.
So, I guess (I may be wrong) we depend on Apple to release a J1.6 compatible QT for Java. But there are signs that QT for Java is deprecated and will no longer be updated.
-Han
Re: Re: Initialization hangs in Mac JDK 1.6
That's too bad. I couldn't find much info about QT for Java 1.6 either. Does Elan already use Java Media Framework?<br>
Re: Re: Re: Initialization hangs in Mac JDK 1.6
ELAN more or less started off with Java Media Framework. But JMF is maybe even more deprecated than QT for Java. JMF is used for the Linux version of ELAN and on Windows it is still available is one of the alternatives (in this order: DirectShow, QuickTime, JMF). On Mac OS only the "pure Java" version of JMF is available and it used to not perform very well (haven't tested myself).
So, maybe someone comes with a new solution that works with J1.6 or maybe we will try to create our own "Java-QT" bridge. Or solution based on VLC player or MPlayer may become available. In the end ELAN should work on Mac OS under J1.6 as well, of course.
-Han